Forum Replies Created
-
AuthorPosts
-
Hey Kevinhvan,
Thank you for using Enfold.
This is caused by an outdated php version (< 5.6).
Please replace in css\dynamic-css.php on line 1020:
if( ! empty( avia_get_option( ‘quick_css’ ) ) )
with
$quick_css = avia_get_option( 'quick_css' ); if( ! empty( $quick_css ) )
I added that fix for the next update.
But you should consider upgrading to a newer php version (also for security reasons):
Best regards,
Günter- This reply was modified 5 years, 9 months ago by Günter.
Hey Marc,
Thank you for using Enfold.
Goto WP Dashboard -> Enfold Options Page -> Performance Tab and Selectbox Scan Widgets for Theme Shortcodes.
Select “Scan Widgets”.
That should solve the problem.
If not, please create an admin account for us and a link to the page with the problem. You can place the credentials in private content.
Best regards,
GünterHi,
Please update enfold\config-templatebuilder\avia-shortcodes\magazine\magazine.php
with
https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_5_5/magazine.php
This will add a pagination – tabs do not supported pagination because that could lead to empty content which is rather confusing for visitors.
Do not forget to make a backup of the original file for a fallback.
If you need assistance in updateing the file let us know and we can do it for you.Should become part of core in the next update.
Best regards,
GünterHi,
I added this to our dev repository to add it to core. Will come back when we have a solution.
Best regards,
GünterApril 6, 2019 at 11:56 am in reply to: Page Preview Error. Warning: preg_match_all(): Compilation failed: unknown … #1087745Hi,
The solution with
@
mentioned here is a safe one because it only affects error reporting on this line.
To me it seems that the content of the page seems to contain elements (like
\par
??) that the preg_match gets in conflict when parsing the string.
To reproduce it I would need the shortcodes of the page.
If you cannot give me access to the page can you try to build a page with as few elements as possible where the problem occurs and send me the shortcodes in private content?
You need to enable ALB debug mode: Please enable debug mode by adding the code provided in this link to your functions.php file which can be accessed from Appearance > Editor
This lets you view the shortcode for all the page elements.
Best regards,
GünterHi,
Kriesi is planning a release probably next week – and for testing purpose I wanted to keep this seperate. If I get the OK and Kriesi does not make a release at beginning of next week I will merge the 2 fixes into 1.
IMO this fix here is not really needed by many users.
Best regards,
GünterHi,
Thanks for the feedback. And glad we could help you.
The changes are in the pull requests for the next update.
Enjoy the theme and feel free to come back if you need further assistance.
I will close this topic for now.Best regards,
GünterHi,
Strange. I added the feeds (see private content below) in my dev environment and the feeds show up.
Both in sidebar and custom widget areas as you use it.Could it be, that your hoster is blocking access somehow ? The RSS widget is core WP.
Can you try to create a staging site on server with a different IP adress?
Best regards,
GünterHi,
@Vince
I added 2 more filters: avf_asset_mgr_get_file_data and avf_compress_file_content_path
These are 2 different things.
The filters in this topic refer to the files to be compressed – this actually should work fine but Vince asked for filters to build his own replacements.
The other replacements are done for the dynamic css file (links to images).
Best regards,
GünterHi,
Please replace in file enfold\config-gutenberg\class-avia-gutenberg.php line 31:
if( true === apply_filters( 'avf_block_editor_theme_support', empty( avia_get_option( 'block_editor_theme_support', '' ) ) ) )
with
$block_editor_supported = empty( avia_get_option( 'block_editor_theme_support', '' ) ); if( true === apply_filters( 'avf_block_editor_theme_support', $block_editor_supported ) )
If you need assistance let us know (please provide a WP admin account for us in private content)
Best regards,
GünterHey snowmoon,
Thank you for using Enfold.
Are you sure you are running PHP 7.1 on that server?
The error you are referring to is the following in enfold/config-gutenberg/class-avia-gutenberg.php line 31:
if( true === apply_filters( 'avf_block_editor_theme_support', empty( avia_get_option( 'block_editor_theme_support', '' ) ) ) )
The problem is the empty( … ) but this is caused by PHP < 5.5 (see here and goto changelog).
To fix it replace this line with:
$supported = avia_get_option( 'block_editor_theme_support', '' ); if( true === apply_filters( 'avf_block_editor_theme_support', empty( $supported ) ) )
But consider to update PHP also for security reason (PHP versions supported)
Best regards,
Günter- This reply was modified 5 years, 9 months ago by Günter.
April 2, 2019 at 5:42 pm in reply to: Fatal error: Can’t use function return value in write context in php on line 213 #1086172Hi,
Your backend is back again.
You must be using a very old PHP version (< 5.5.0). This bug is fixed in Enfold 4.5.5, so you are safe to update. But you should talk to your hoster to upgrade your PHP version for security reasons (minimum 7.1).
Best regards,
GünterHi,
Thank you for using Enfold and thanks a lot for pointing at this.
I modified it in core.Enjoy the theme and feel free to come back when you need further assistance.
Best regards,
GünterApril 2, 2019 at 3:40 pm in reply to: 2 SOLUTIONS CONFLICT – Last ALB fix omitted previous code fix you gave #1086107Hi,
Thanks for the feedback.
I added a filter for your problem (and some more improvements) for the next update.
Meanwhile:
Please replace enfold\config-templatebuilder\avia-template-builder\php\shortcode-template.class.php with
enfold\config-templatebuilder\avia-template-builder\php\template-builder.class.php with
https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_5_5/AIO_SEO/template-builder.class.phpIn functions.php (child theme or parent theme) add the following code:
After the next update make sure that filter avf_shortcode_no_header_request is included in enfold\config-templatebuilder\avia-template-builder\php\shortcode-template.class.php – then you need not do any further steps.
Please make a backup of the files for a fallback.
Best regards,
GünterApril 2, 2019 at 2:55 pm in reply to: Issue with WooCommerce Checkout with Square/Enfold Theme #1086088Hey JJNcory123,
What version of Enfold are you using?
The error message below (see private content) refers to a function that is not used in Enfold.
Try to deactivate all plugins, check the function and then reactivate one after the other and check. Most likely to be a plugin conflict.
Best regards,
GünterApril 2, 2019 at 2:34 pm in reply to: Next and previous post arrows missing for The Events Calendar #1086081Hi,
Thank you for using enfold – and thanks for reporting this.
Thank you for your input and trying to solve the problem.
————————————————–
In fact tribe changed the way to query the adjacent events which broke the way we checked for existing links. Therefore we did not recognise that there are events and did not show the navigation (nothing to do with the deprecated filters which were introduced to find a consistent way of nameing our actions and filters).To fix the problem please replace enfold\config-events-calendar\config.php
with
The fix now also supports featured images for events in the navigation area like for posts.
Do not forget to make a backup for a fallback.
Best regards,
GünterApril 2, 2019 at 10:26 am in reply to: 2 SOLUTIONS CONFLICT – Last ALB fix omitted previous code fix you gave #1086007Hi,
Thanks for the info.
To find a final solution: Could you try to use the following line and check if this works:
if( ! is_admin() && ! Avia_Builder()->wp_head_done && ( ! ( defined( 'REST_REQUEST' ) && true === REST_REQUEST ) ) && ! is_feed() && ! is_comment_feed() && ( ! ( defined( 'GRAPHQL_REQUEST' ) && true === GRAPHQL_REQUEST ) ) )
Best regards,
GünterHi,
@selinnx
Bitte ein neues Topic anlegen mit einem Link zu der Seite und einen WP admin account damit wir uns das Backend anschauen können.
Danke.
Best regards,
GünterHi,
Enfold 4.5.5
In file enfold\config-templatebuilder\avia-template-builder\php\shortcode-template.class.php line 343:
if( ! is_admin() && ! Avia_Builder()->wp_head_done && ( ! ( defined( 'REST_REQUEST' ) && true === REST_REQUEST ) ) )
Please replace with:
if( ! is_admin() && ! Avia_Builder()->wp_head_done && ( ! ( defined( 'REST_REQUEST' ) && true === REST_REQUEST ) ) && ! is_feed() && ! is_comment_feed() )
This should fix the problem with the feeds.
Best regards,
GünterApril 1, 2019 at 12:35 pm in reply to: 2 SOLUTIONS CONFLICT – Last ALB fix omitted previous code fix you gave #1085463Hi,
Sorry for the late reply – but I had influenza the last days and could not work.
Can you check with the GraphQL developpers how we can identify their query in WP backend (like we can for a feed or REST API call)?
Then we can add a filter for that.
As a temporary fix if you do not use a plugin (like All In one SEO) that calls the shortcodes in header you can try to replace:
if( ! is_admin() && ! Avia_Builder()->wp_head_done && ( ! ( defined( 'REST_REQUEST' ) && true === REST_REQUEST ) ) && ! is_feed() && ! is_comment_feed() )
with
if( false )
Best regards,
GünterApril 1, 2019 at 12:16 pm in reply to: Enfold page builder layout broken with All In One SEO Pack compatibility issue #1085448Hi,
Please check https://github.com/semperfiwebdesign/all-in-one-seo-pack/issues/2307#issuecomment-478521006
Best regards,
GünterHi!
I added filter avf_asset_mgr_get_file_data.
Please check https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_5_5/Filter_asset_manager/asset-manager.class.php.
Does that help you?
If you need more parameters let us know.
Is In the pull requests for the next update.Needs 4.5.5
Regards,
GünterHey!
Thank you for the credentials.
You have 2 Enfold themes and there seems to be some conflict with that.
Kindly download the latest version of Enfold from theme forest (4.5.5) as zip file.
Delete all enfold directories completly from your server with ftp.
Acrivate a standard WP theme and clear all server and browser caches to remove everything that might link to enfold.
Diasable all plugins.
Upload the latest version to a completly new enfold folder.
Activate the theme and clear all caches again.
Then reactivate one plugin after the other – check for a plugin conflict.Do not forget to make a complete backup of your database and files to have a fallback.
Cheers!
GünterHi,
Thanks for your feedback.
I found the bug.
In enfold\config-templatebuilder\avia-shortcodes\iconlist\iconlist.php in line 519 you find:
$this->screen_options = AviaHelper::av_mobile_sizes( $atts );
Below this line please add:
$this->icon_html_styling = ''; $this->title_styling = ''; $this->content_styling = ''; $this->content_class = ''; $this->title_class = ''; $this->iconlist_styling = '';
This should fix the problem. I will also check the other elements for a similar problem.
If you need assistance for the modification let us know and we can do it for you (I see 2 Enfold themes in the WP backend editor – therefore I did not update it).
Best regards,
GünterMarch 27, 2019 at 5:20 pm in reply to: 2 SOLUTIONS CONFLICT – Last ALB fix omitted previous code fix you gave #1083711Hi,
Enfold 4.5.5
In file enfold\config-templatebuilder\avia-template-builder\php\shortcode-template.class.php line 343:
if( ! is_admin() && ! Avia_Builder()->wp_head_done && ( ! ( defined( 'REST_REQUEST' ) && true === REST_REQUEST ) ) )
Please replace with:
if( ! is_admin() && ! Avia_Builder()->wp_head_done && ( ! ( defined( 'REST_REQUEST' ) && true === REST_REQUEST ) ) && ! is_feed() && ! is_comment_feed() )
This should fix the problem with the feeds.
Best regards,
GünterHi,
Can you please recheck the FTP credentials? They do not work for me.
And also create a WP admin account for us and the link to your site please.Best regards,
GünterMarch 27, 2019 at 1:19 pm in reply to: Accordion and other shortcodes not working after last update #1083564Hi,
Thanks for this info (about 4.5.1). I informed Kriesi about that.
Is your problem solved after update ?
Best regards,
GünterMarch 27, 2019 at 1:11 pm in reply to: Shortcode vom Kontaktformular falsch einprogrammiert von Haus aus #1083554Hi,
Danke für diese Information.
Es handelt sich um einen Fehler in der Übersetzung. Diese wird dankenswerterweise von Usern kostenlos zur Verfügung gestellt. Leider können wir diese nicht auf Fehler überprüfen.
Ich hab den Fehler korrigiert – sollte in der nächsten Release drinnen sein.
Viel Freude noch mit Enfold.
Best regards,
Günter -
AuthorPosts