
-
AuthorPosts
-
November 14, 2019 at 1:11 pm #1156774
Hi,
Yesterday I updated my theme to version 4.6.3.1
Everything worked fine. Today I update to a new version of wordpress and I get an fatal error in backend with the portfolio items.Wordpress report:
An error of type E_ERROR was caused in line 619 of the file http://www.mysite.com/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php. Error message: Uncaught TypeError: Argument 1 passed to Avia_Gutenberg::handler_display_post_states() must be of the type array, null given, called in http://www.mysite.com/wp-includes/class-wp-hook.php on line 288 and defined in http://www.mysite.com/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php:619
Stack trace:
#0 http://www.mysite.com/wp-includes/class-wp-hook.php(288): Avia_Gutenberg->handler_display_post_states(NULL, Object(WP_Post))
#1www.mysite.com/wp-includes/plugin.php(206): WP_Hook->apply_filters(NULL, Array)
#2www.mysite.com/wp-admin/includes/template.php(2168): apply_filters(‘display_post_st…’, Array, Object(WP_Post))
#3 http://www.mysite.com/wp-admin/includes/template.php(2077): get_post_states(Object(WP_Post))
#4www.mysite.com/wp-admin/includes/class-wp-posts-list-table.php(1033): _post_states(Object(WP_Post))My current versions
WordPress version 5.3
Current theme: Enfold (version 4.6.3.1)
Current plugin: (version )
PHP version 7.1.30-1+0~20190531112602.19+stretch~1.gbpab9d28What can I do to resolve this problem?
-
This topic was modified 5 years, 4 months ago by
ronnieaerts.
November 15, 2019 at 5:56 am #1157067Hey ronnieaerts,
Could you try to select the Classic Editor in the main page of the theme options please? If that doesn’t help then please post admin login details in private so that we can have a closer look.
Best regards,
RikardNovember 15, 2019 at 12:41 pm #1157163This reply has been marked as private.November 16, 2019 at 5:12 am #1157401Hi Ronnie,
Thanks for the details. When I go to the Portfolio menu then I only see one item listed, but the text above says that you have 42 items. Is that the problem you are seeing as well? I’m not seeing any error messages though?
Best regards,
RikardNovember 16, 2019 at 10:16 am #1157424Hi Rikard,
That is exactly the problem. All though there are no errors seen I do get an email from WordPress with the above error report. Totday I received a new one to be found in the private section.
Kind regards
Ronnie AertsNovember 17, 2019 at 3:23 am #1157574Hi Ronnie,
I’m not sure exactly what is causing your problem, but this is not a general problem with the version of the theme you are running. Could you try to disable all plugins to see if there is conflict coming from any of them please?
Best regards,
RikardNovember 17, 2019 at 9:51 am #1157593Hi Rikard,
I’m sorry for the trouble. The problem came from the WordPress slate theme for the backend.
This theme doesn’t work well with enfold apparently. I deleted the plugin and the problem is solved.
Thanx for the support.Kind regards
Ronnie AertsNovember 18, 2019 at 3:20 am #1157716Hi Ronnie,
Great, I’m glad that you found the problem and thanks for the update. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
RikardNovember 18, 2019 at 12:12 pm #1157828No this was it. You can close it down!
Thanx -
This topic was modified 5 years, 4 months ago by
-
AuthorPosts
- The topic ‘An error of type E_ERROR was caused in line 619 Gutenberg’ is closed to new replies.