-
AuthorPosts
-
August 19, 2020 at 10:20 am #1239103
Hi there,
I am writing because since I manually updated from Enfold 4.3 to 4.7 I cannot use Masonry to show posts. When I add the Masonry element to my page, I cannot Update or Save the page. I had to manually remove Masonry elements from my pages because they would not load in front end.
Any ideas of what might be happening?
Thank you very much for your help.
Best,
August 20, 2020 at 7:07 am #1239454Hey oniljuez,
Thanks for the login details. On which page can we see and reproduce this problem?
Best regards,
RikardAugust 20, 2020 at 8:55 am #1239475This reply has been marked as private.August 21, 2020 at 5:36 am #1239727Hi,
Thanks for that. You are getting a 500 internal server error on the file in private when trying to save the page. Could you try reaching out to your hosting provider to see if they can see why that is please?
Best regards,
RikardAugust 21, 2020 at 9:57 am #1239773Hi again,
Here’s what shows my error_log file:
[21-Aug-2020 07:54:43 UTC] PHP Fatal error: Uncaught Error: Call to undefined function avia_wc_clear_catalog_ordering_args_filters() in /home/cesbenas/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/av-helper-masonry.php:1124 Stack trace: #0 /home/cesbenas/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries/masonry_entries.php(657): avia_masonry->query_entries() #1 /home/cesbenas/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php(1041): avia_sc_masonry_entries->shortcode_handler(Array, '', 'av_masonry_entr...', Array) #2 /home/cesbenas/public_html/wp-includes/shortcodes.php(343): aviaShortcodeTemplate->shortcode_handler_prepare(Array, '', 'av_masonry_entr...') #3 [internal function]: do_shortcode_tag(Array) #4 /home/cesbenas/public_html/wp-includes/shortcodes.php(218): preg_replace_callback('/\\[(\\[?)(av_mas...', 'do_shortcode_ta...', '[av_masonry_ent...') #5 /home/cesbenas/public_html/wp-includes/class-wp-hook.php(287): in /home/cesbenas/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/av-helper-masonry.php on line 1124 [21-Aug-2020 07:56:03 UTC] PHP Fatal error: Uncaught Error: Call to undefined function avia_wc_clear_catalog_ordering_args_filters() in /home/cesbenas/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/av-helper-masonry.php:1124 Stack trace: #0 /home/cesbenas/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries/masonry_entries.php(657): avia_masonry->query_entries() #1 /home/cesbenas/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php(1041): avia_sc_masonry_entries->shortcode_handler(Array, '', 'av_masonry_entr...', Array) #2 /home/cesbenas/public_html/wp-includes/shortcodes.php(343): aviaShortcodeTemplate->shortcode_handler_prepare(Array, '', 'av_masonry_entr...') #3 [internal function]: do_shortcode_tag(Array) #4 /home/cesbenas/public_html/wp-includes/shortcodes.php(218): preg_replace_callback('/\\[(\\[?)(av_mas...', 'do_shortcode_ta...', '[av_masonry_ent...') #5 /home/cesbenas/public_html/wp-includes/class-wp-hook.php(287): in /home/cesbenas/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/av-helper-masonry.php on line 1124
Best,
August 21, 2020 at 5:23 pm #1239823Hi again,
There seems to be sort of incompatibility with Woocommerce plugin. When this plugin is activated, Masonry is not working for me. I need to use Woocommerce in my installation, any ideas of what I can do or where I should look at?
Best,
August 23, 2020 at 5:47 am #1240040Hi,
Thanks for the update. I wanted to login to your site again but it’s not working now:
LOGIN BLOCKED: 2FA is required to be active on all administrator accounts.
Could you remove that block please?
About your problem; are you sure that it’s WooCommerce that is causing problems? What happens if you disable all plugins except WooCommerce for example?
Best regards,
RikardAugust 23, 2020 at 3:11 pm #1240085Hi again,
I’ve tried what you said and I can confirm that Woocommerce is the one that messes it up.
Please try logging in again.
Best,
August 25, 2020 at 4:23 am #1240569Hi,
Thanks for the update, login details are working again. Would it be ok if we disable plugins temporarily for debugging purposes?
Best regards,
RikardOctober 18, 2020 at 12:04 pm #1253589Hi again,
I checked my log files and I am still getting the same error even after updating to version 4.7.6.4.
#0 /home/cesbenas/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries/masonry_entries.php(660): avia_masonry->query_entries()
#1 /home/cesbenas/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php(1042): avia_sc_masonry_entries->shortcode_handler(Array, ”, ‘av_masonry_entr…’, Array)
#2 /home/cesbenas/public_html/wp-includes/shortcodes.php(343): aviaShortcodeTemplate->shortcode_handler_prepare(Array, ”, ‘av_masonry_entr…’)
#3 [internal function]: do_shortcode_tag(Array)
#4 /home/cesbenas/public_html/wp-includes/shortcodes.php(218): preg_replace_callback(‘/\\[(\\[?)(av_mas…’, ‘do_shortcode_ta…’, ‘[av_masonry_ent…’)
#5 /home/cesbenas/public_html/wp-includes/class-wp-hook.php(287): in /home/cesbenas/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/av-helper-masonry.php on line 1152Please I need help.
Best,
October 18, 2020 at 12:43 pm #1253596Hi again,
In trying to solve the issue, I looked in the forums and found that I should remove this action from my theme:
if( function_exists( 'WC' ) ) { avia_wc_clear_catalog_ordering_args_filters(); $avia_config['woocommerce']['disable_sorting_options'] = false; }
I commented on those lines and everything seems to be working. But I did so directly in the father theme.
How can I remove that from my enfold_child theme functions?Best,
- This reply was modified 4 years, 1 month ago by oniljuez.
October 19, 2020 at 5:55 am #1253791Hi oniljuez,
You can override that using the instruction provided in our documentation: https://kriesi.at/documentation/enfold/intro-to-layout-builder/#add-elements-to-alb
Hope it helps.Best regards,
NikkoOctober 19, 2020 at 8:05 pm #1254130It still fails when adding products to my Masonry galleries…
- This reply was modified 4 years, 1 month ago by oniljuez.
October 20, 2020 at 4:06 am #1254210Hi oniljuez,
Can you try renaming the file from avia-shortcodes.php to av-helper-masonry.php ?
Let us know if this helps.Best regards,
Nikko- This reply was modified 4 years, 1 month ago by Nikko. Reason: correction
-
AuthorPosts
- You must be logged in to reply to this topic.