
-
AuthorPosts
-
January 6, 2019 at 4:01 am #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
January 6, 2019 at 3:03 pm #1050568Hey 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,
RikardJanuary 6, 2019 at 5:22 pm #1050588Good for 3 days, thanks
January 7, 2019 at 6:30 am #1050767Hi,
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,
RikardJanuary 7, 2019 at 2:56 pm #1050896I 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.
January 9, 2019 at 11:42 am #1051736Hi,
Can we have access to the site? Please post the login details in the private field. We’ll check the page editor.
Best regards,
IsmaelJanuary 9, 2019 at 3:36 pm #1051850Hi
I posted login credentials a few posts ago. Here it is again for your reference.
January 11, 2019 at 11:55 am #1052710Hi,
Thanks for the update.
I can’t reproduce the issue on the sample page. Where can we see the issue?
Best regards,
IsmaelJanuary 11, 2019 at 4:59 pm #1052787So 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.
January 11, 2019 at 7:08 pm #1052859Hi 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,
VictoriaJanuary 11, 2019 at 8:06 pm #1052877Hello,
Ctrl F5 is no help…I get the same behavior when I use a brand new browser or run from incognito mode.
January 11, 2019 at 8:13 pm #1052881I still think the errors I posted before from the Apache error log are a clue here…the errors very clearly mention ‘Enfold’
January 14, 2019 at 1:07 am #1053469Hi,
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,
IsmaelJanuary 14, 2019 at 3:31 pm #1053713I’m running php72-7.2.13
Session support is enabled by default.
-
This reply was modified 6 years, 5 months ago by
toledoeastminster.
January 15, 2019 at 12:28 am #1053886Hi,
Thanks for the update. Is it working properly if you remove the masonry element?
Best regards,
IsmaelJanuary 15, 2019 at 5:54 pm #1054208How would I do that?
January 18, 2019 at 11:50 am #1055411Hi,
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,
IsmaelJanuary 18, 2019 at 2:59 pm #1055468There 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.
January 22, 2019 at 4:24 am #1057009Hi,
Did you find a masonry element in the page? Let us know if you’re still having the issue.
Best regards,
IsmaelJanuary 24, 2019 at 5:24 pm #1058233I didn’t look, I didn’t know what I was looking for.
-
This reply was modified 6 years, 5 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.