Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #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,

    #1239454

    Hey oniljuez,

    Thanks for the login details. On which page can we see and reproduce this problem?

    Best regards,
    Rikard

    #1239475
    This reply has been marked as private.
    #1239727

    Hi,

    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,
    Rikard

    #1239773

    Hi 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,

    #1239823

    Hi 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,

    #1240040

    Hi,

    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,
    Rikard

    #1240085

    Hi 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,

    #1240569

    Hi,

    Thanks for the update, login details are working again. Would it be ok if we disable plugins temporarily for debugging purposes?

    Best regards,
    Rikard

    #1253589

    Hi 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 1152

    Please I need help.

    Best,

    #1253596

    Hi 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, 2 months ago by oniljuez.
    #1253791

    Hi 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,
    Nikko

    #1254130

    It still fails when adding products to my Masonry galleries…

    • This reply was modified 4 years, 2 months ago by oniljuez.
    #1254210

    Hi 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, 2 months ago by Nikko. Reason: correction
Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.