Forum Replies Created
-
AuthorPosts
-
Hey J.,
Thank you for using Enfold – and sorry for that.
In the last update there is a bug in the iconlist element.
Please update enfold\config-templatebuilder\avia-shortcodes\iconlist\iconlist.php
Do not forget to make a backup of the original file for a fallback – and clear server and browser cache.
If you need assistance in updating let us know and we can do it for you – please provide ftp access.
Best regards,
GünterApril 9, 2019 at 3:12 pm in reply to: CSS file merging and compression breaking Background image. #1088671Hi,
Thank you for the credentials.
But I cannot see the theme editor menu in WP Dashboard-> Appearance. So I cannot check or modify the file.
Maybe something went wrong when updating the file – or the server has a cache and did not recognise the changes.
As a temporary fix you can disable CSS merging (Enfold Child -> Performance tab).
The fix should be in the next update. If you do not want to wait for the next update can you give us ftp access and a full admin account so we can update the file and check? After update it needs to save the Enfold theme options to force a rebuild of the merged files.
Best regards,
GünterApril 9, 2019 at 1:25 pm in reply to: woocommerce shop – sorting by price breaks with simple and variable products #1088654Hi,
Always sort on the highest variable price (whether ascending or descending) – simple as that.
As theme we have to follow the default behaviour of WooCommerce.
Your request is actually customization.
What you can try is the following in WooCommerce core (replace min with max):
woocommerce\includes\class-wc-query.php line 527:
SELECT post_id, min( meta_value+0 ) price
Replace with:
SELECT post_id, max( meta_value+0 ) price
and
line 537 (only the beginning of the line):
$args['join'] .= " INNER JOIN ( SELECT post_id, min( meta_value+0 ) price
Replace with:
$args['join'] .= " INNER JOIN ( SELECT post_id, max( meta_value+0 ) price
Best regards,
GünterHi,
I updated
enfold\config-templatebuilder\avia-shortcodes\icongrid\icongrid.php
enfold\config-templatebuilder\avia-shortcodes\iconlist\iconlist.phpThat should fix the problems.
Will be part of the next release.
Best regards,
GünterHi,
Sorry für das Problem.
Falls Du nicht auf das nächste Update warten kannst, bitte einen WP admin user für uns anlegen, einen Link zu der Seite mit dem Problem und dann können wir Dir gerne einen fix geben.
Best regards,
GünterApril 8, 2019 at 4:15 pm in reply to: Header Code Works in FireFox and Chrome but not IE11 and Edge #1088372Hi,
Thanks for sharing this solution and that your problem is fixed.
Feel free to come back if you need further assistance. Enjoy the theme and have a nice day.
Best regards,
GünterHey 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 6 years, 2 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 6 years, 3 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ünter -
This reply was modified 6 years, 2 months ago by
-
AuthorPosts