-
AuthorPosts
-
January 2, 2019 at 6:37 pm #1049339
We are using Enfold Version: 3.0.2 on our website.
When we update to PHP 7.2 we get these errors:
1. The spacing is wonky on most pages. I think some of the extra spacing is due to the advanced layout builder – like there’s extra padding after the column-oriented boxes? I poked around all the settings in the Enfold menu and can’t find a solution.
2. Many of the page editors just aren’t working right. Our pages are made of multiple advanced layout editor boxes, but clicking any one of the layout boxes shows all of the HTML in the visual editor, but in white-on-white. It’s also all in the text editor tab – but again, that’s for the whole page, not the individual box I should be able to edit. Many pages have this problem, but not all.WP Engine has explained to me that this is from Enfold causing these errors.
PHP Fatal error: Uncaught Error: Function name must be a string in /nas/content/live/amachicago/wp-content/themes/enfold/framework/php/class-style-generator.php:123\nStack trace:\n#0 [internal function]: avia_style_generator->create_styles(”)\n#1 /nas/content/live/amachicago/wp-includes/class-wp-hook.php(286): call_user_func_array(Array, Array)\n#2 /nas/content/live/amachicago/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)\n#3 /nas/content/live/amachicago/wp-includes/plugin.php(453): WP_Hook->do_action(Array)\n#4 /nas/content/live/amachicago/wp-includes/general-template.php(2614): do_action(‘wp_head’)\n#5 /nas/content/live/amachicago/wp-content/themes/enfold/header.php(56): wp_head()\n#6 /nas/content/live/amachicago/wp-includes/template.php(688): require_once(‘/nas/content/li…’)\n#7 /nas/content/live/amachicago/wp-includes/template.php(647): load_template(‘/nas/content/li…’, true)\n#8 /nas/content/live/amachicago/wp-includes/general-template.php(41): locate_template(Array, true)\n#9 /nas/content/live/amachi in /nas/content/live/amachicago/wp-content/themes/enfold/framework/php/class-style-generator.php on line 123
The staging WP install has WP 5.0.1, has every plugin and every theme up to date and when you update Enfold to Version 4.5.1 it fails. I upgrade to Version 4.5.1 by deleting version 3.0.2 via SFTP and uploading the new one.
What can we do?
January 3, 2019 at 6:27 am #1049487Hey julieobrien,
Are you still getting that error after updating on the staging site? If so then please post admin login details in private so that we can have a closer look.
Best regards,
RikardJanuary 3, 2019 at 6:24 pm #1049670Yes, still having the error. Sending you credentials in the private section.
January 4, 2019 at 7:22 am #1049856Hi,
Thanks for the login details, though I can’t see any fatal error messages on the staging site. Where exactly are you seeing them?
Best regards,
RikardJanuary 14, 2019 at 10:14 pm #1053852This happens on nearly every page of our site within the staging site. The pages are made of multiple advanced layout editor boxes, but clicking any one of the layout boxes shows all of the HTML in the visual editor, but in white-on-white. It’s also all in the text editor tab – but again, that’s for the whole page, not the individual box I should be able to edit. I’m including a private link to a screenshot of what I see on the page.
January 23, 2019 at 3:50 pm #1057774Was there a solution to this issue? I’m seeing the same problem.
January 24, 2019 at 1:25 am #1057988Hi,
Not yet – we are working on it from our side :)
Best regards,
BasilisFebruary 11, 2019 at 4:41 pm #1065484Is there any resolution here?
February 12, 2019 at 7:57 am #1065808Hi julieobrien,
I think the problem you are having is caused by the Gutenberg editor which was introduced in WordPress 5. There is an option to use the Classic Editor in the latest version of the theme (4.5.3) if you would like to update to that. Otherwise you could try this in your functions.php file to disable the Gutenberg editor:
// disable for posts add_filter('use_block_editor_for_post', '__return_false', 10); // disable for post types add_filter('use_block_editor_for_post_type', '__return_false', 10);
Best regards,
Rikard -
AuthorPosts
- You must be logged in to reply to this topic.