Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1107588

    I am updating one of my sites and when I go to edit some posts I get this:

    
    Fatal error: Uncaught TypeError: Argument 1 passed to AviaBuilder::handler_wp_dbx_post_sidebar() must be an instance of WP_Post, instance of stdClass given, called in /home/site/public_html/wp-includes/class-wp-hook.php on line 286 and defined in /home/site/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/template-builder.class.php:398 
    
    Stack trace: 
    #0 /home/site/public_html/wp-includes/class-wp-hook.php(286): AviaBuilder->handler_wp_dbx_post_sidebar(Object(stdClass)) 
    #1 /home/site/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) 
    #2 /home/site/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array) 
    #3 /home/site/public_html/wp-admin/edit-form-advanced.php(677): do_action('dbx_post_sideba...', Object(stdClass)) 
    #4 /home/site/public_html/wp-admin/post.php(197): include('/home/site/p...') 
    #5 {main} thrown in /home/site/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/template-builder.class.php on line 398
    

    I am not able to edit anything.

    #1107950

    Can you please share a fix for this?

    Thanks.

    #1108613

    Hi,

    What php version does this server has?

    Best regards,
    Basilis

    #1108686

    7.2

    Thank you.

    #1109622

    Hi,

    Can you disable the php error log and turn wp_debug off and see if this fixes?

    Best regards,
    Basilis

    #1109831

    I don’t have php error log and wp_debug. The error appears when hitting edit a post.

    Maybe something related to Classic, Gutenberg, advanced editors, that Enfold does not know which one to use.

    #1110812

    Hi peterolle,

    Which editor are you using to build posts?

    Could you please attach some screenshots of the issue?

    Best regards,
    Victoria

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