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

    What can I do to resolve this problem?

    • This topic was modified 5 years, 4 months ago by ronnieaerts.
    #1157067

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

    #1157163
    This reply has been marked as private.
    #1157401

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

    #1157424

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

    #1157574

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

    #1157593

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

    #1157716

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

    #1157828

    No this was it. You can close it down!
    Thanx

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘An error of type E_ERROR was caused in line 619 Gutenberg’ is closed to new replies.