Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #1050474

    I have a brand new site running WordPress 5.0.2 and EnFold 4.5.2.

    When I make a change to a page and try to preview those changes before posting, I’m given a 500 error.

    If I look in the Apache error logs, I see the following

    
    [Sat Jan 05 20:10:29.886828 2019] [php7:error] [pid 29187] [client 162.158.74.222:33226] PHP Fatal error:  Uncaught Error: Call to undefined function session_id() in /usr/local/www/apache24/data/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries/masonry_entries.php:56\nStack trace:\n#0 /usr/local/www/apache24/data/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php(181): avia_sc_masonry_entries->extra_assets()\n#1 /usr/local/www/apache24/data/wp-includes/class-wp-hook.php(286): aviaShortcodeTemplate->extra_asset_check(Object(WP))\n#2 /usr/local/www/apache24/data/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)\n#3 /usr/local/www/apache24/data/wp-includes/plugin.php(515): WP_Hook->do_action(Array)\n#4 /usr/local/www/apache24/data/wp-includes/class-wp.php(728): do_action_ref_array('wp', Array)\n#5 /usr/local/www/apache24/data/wp-includes/functions.php(964): WP->main('')\n#6 /usr/local/www/apache24/data/wp-blog-header.php(16): wp()\n#7 /usr/local/www/apache24/data/index.php(17): require('/usr/local/www/...')\n#8 {main}\n  thro in /usr/local/www/apache24/data/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries/masonry_entries.php on line 56, referer: https://www.toledoeastminster.org/wp-admin/post.php?post=203&action=edit
    [Sat Jan 05 20:11:12.767505 2019] [php7:error] [pid 29074] [client 162.158.74.222:10210] PHP Fatal error:  Uncaught Error: Call to undefined function session_id() in /usr/local/www/apache24/data/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries/masonry_entries.php:56\nStack trace:\n#0 /usr/local/www/apache24/data/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php(181): avia_sc_masonry_entries->extra_assets()\n#1 /usr/local/www/apache24/data/wp-includes/class-wp-hook.php(286): aviaShortcodeTemplate->extra_asset_check(Object(WP))\n#2 /usr/local/www/apache24/data/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)\n#3 /usr/local/www/apache24/data/wp-includes/plugin.php(515): WP_Hook->do_action(Array)\n#4 /usr/local/www/apache24/data/wp-includes/class-wp.php(728): do_action_ref_array('wp', Array)\n#5 /usr/local/www/apache24/data/wp-includes/functions.php(964): WP->main('')\n#6 /usr/local/www/apache24/data/wp-blog-header.php(16): wp()\n#7 /usr/local/www/apache24/data/index.php(17): require('/usr/local/www/...')\n#8 {main}\n  thro in /usr/local/www/apache24/data/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries/masonry_entries.php on line 56, referer: https://www.toledoeastminster.org/wp-admin/post.php?post=203&action=edit
    [Sat Jan 05 20:12:59.723230 2019] [php7:error] [pid 29196] [client 162.158.74.222:38878] PHP Fatal error:  Uncaught Error: Call to undefined function session_id() in /usr/local/www/apache24/data/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries/masonry_entries.php:56\nStack trace:\n#0 /usr/local/www/apache24/data/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php(181): avia_sc_masonry_entries->extra_assets()\n#1 /usr/local/www/apache24/data/wp-includes/class-wp-hook.php(286): aviaShortcodeTemplate->extra_asset_check(Object(WP))\n#2 /usr/local/www/apache24/data/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)\n#3 /usr/local/www/apache24/data/wp-includes/plugin.php(515): WP_Hook->do_action(Array)\n#4 /usr/local/www/apache24/data/wp-includes/class-wp.php(728): do_action_ref_array('wp', Array)\n#5 /usr/local/www/apache24/data/wp-includes/functions.php(964): WP->main('')\n#6 /usr/local/www/apache24/data/wp-blog-header.php(16): wp()\n#7 /usr/local/www/apache24/data/index.php(17): require('/usr/local/www/...')\n#8 {main}\n  thro in /usr/local/www/apache24/data/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries/masonry_entries.php on line 56, referer: https://www.toledoeastminster.org/wp-admin/post.php?post=203&action=edit
    [Sat Jan 05 20:29:28.026494 2019] [php7:error] [pid 29311] [client 162.158.74.222:34374] PHP Fatal error:  Uncaught Error: Call to undefined function session_id() in /usr/local/www/apache24/data/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries/masonry_entries.php:56\nStack trace:\n#0 /usr/local/www/apache24/data/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php(181): avia_sc_masonry_entries->extra_assets()\n#1 /usr/local/www/apache24/data/wp-includes/class-wp-hook.php(286): aviaShortcodeTemplate->extra_asset_check(Object(WP))\n#2 /usr/local/www/apache24/data/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)\n#3 /usr/local/www/apache24/data/wp-includes/plugin.php(515): WP_Hook->do_action(Array)\n#4 /usr/local/www/apache24/data/wp-includes/class-wp.php(728): do_action_ref_array('wp', Array)\n#5 /usr/local/www/apache24/data/wp-includes/functions.php(964): WP->main('')\n#6 /usr/local/www/apache24/data/wp-blog-header.php(16): wp()\n#7 /usr/local/www/apache24/data/index.php(17): require('/usr/local/www/...')\n#8 {main}\n  thro in /usr/local/www/apache24/data/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries/masonry_entries.php on line 56, referer: https://www.toledoeastminster.org/wp-admin/post.php?post=203&action=edit
    [Sat Jan 05 20:31:17.887874 2019] [php7:error] [pid 29293] [client 162.158.74.222:65444] PHP Fatal error:  Uncaught Error: Call to undefined function session_id() in /usr/local/www/apache24/data/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries/masonry_entries.php:56\nStack trace:\n#0 /usr/local/www/apache24/data/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php(181): avia_sc_masonry_entries->extra_assets()\n#1 /usr/local/www/apache24/data/wp-includes/class-wp-hook.php(286): aviaShortcodeTemplate->extra_asset_check(Object(WP))\n#2 /usr/local/www/apache24/data/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)\n#3 /usr/local/www/apache24/data/wp-includes/plugin.php(515): WP_Hook->do_action(Array)\n#4 /usr/local/www/apache24/data/wp-includes/class-wp.php(728): do_action_ref_array('wp', Array)\n#5 /usr/local/www/apache24/data/wp-includes/functions.php(964): WP->main('')\n#6 /usr/local/www/apache24/data/wp-blog-header.php(16): wp()\n#7 /usr/local/www/apache24/data/index.php(17): require('/usr/local/www/...')\n#8 {main}\n  thro in /usr/local/www/apache24/data/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries/masonry_entries.php on line 56, referer: https://www.toledoeastminster.org/wp-admin/post.php?post=203&action=edit
    

    How would I go about fixing this?

    Thanks

    #1050568

    Hey toledoeastminster,

    Please send us a temporary admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

    #1050588

    Good for 3 days, thanks

    #1050767

    Hi,

    Thanks for that, could you try to select the Classic Editor in the Select Your Editor option in the main theme options page to see if that helps please?

    Best regards,
    Rikard

    #1050896

    I tried the classic editor and have the same problem. I do know that preview for the classic editor used to work as I used it before I purchased your product.

    #1051736

    Hi,

    Can we have access to the site? Please post the login details in the private field. We’ll check the page editor.

    Best regards,
    Ismael

    #1051850

    Hi

    I posted login credentials a few posts ago. Here it is again for your reference.

    #1052710

    Hi,

    Thanks for the update.

    I can’t reproduce the issue on the sample page. Where can we see the issue?

    Best regards,
    Ismael

    #1052787

    So you’re saying that if you go to Pages > All Pages > Sample Page > Edit > Preview that it works for you?

    It appears to be hit or miss now…for a while I received the 500 error I mentioned above. Today when I tried after you said it worked for you, preview is showing me a very out of date page…very different than the home page that should be there now. The 500 error seems to have gone away, but again, the previews now aren’t matching what they should be.

    #1052859

    Hi toledoeastminster,

    Please try using the ctrl+f5 combination to reload preview pages, WordPress seems to cache them more than before.

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1052877

    Hello,

    Ctrl F5 is no help…I get the same behavior when I use a brand new browser or run from incognito mode.

    #1052881

    I still think the errors I posted before from the Apache error log are a clue here…the errors very clearly mention ‘Enfold’

    #1053469

    Hi,

    The error pertains to the masonry element and one of the session function. What is the current PHP version? Please ask your hosting provider if the session package is enabled.

    // https://packagist.org/packages/dmitrymomot/php-session

    Best regards,
    Ismael

    #1053713

    I’m running php72-7.2.13

    Session support is enabled by default.

    #1053886

    Hi,

    Thanks for the update. Is it working properly if you remove the masonry element?

    Best regards,
    Ismael

    #1054208

    How would I do that?

    #1055411

    Hi,

    Edit the page and remove the masonry element from the advance layout builder. You should also disable the plugins temporarily to see if one of them is causing the error.

    Best regards,
    Ismael

    #1055468

    There are no other plugins other than the the temporary login one that I added to gain you access.

    I’ll look into the masonry element, I’m not familiar with it.

    #1057009

    Hi,

    Did you find a masonry element in the page? Let us know if you’re still having the issue.

    Best regards,
    Ismael

    #1058233

    I didn’t look, I didn’t know what I was looking for.

Viewing 20 posts - 1 through 20 (of 20 total)
  • You must be logged in to reply to this topic.