Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1270825

    When trying to edit a new blog post or page I can not edit the text field or select the advanced layout builder. Every plugin and the theme is up-to-date.
    When running WP_debug I get following fatal error:

    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 /var/www/mysite.be/mysite.be/wwwroot/wp-includes/class-wp-hook.php on line 287 and defined in /var/www/mysite.be/mysite.be/wwwroot/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/template-builder.class.php:320 Stack trace: #0 /var/www/mysite.be/mysite.be/wwwroot/wp-includes/class-wp-hook.php(287): AviaBuilder->handler_wp_dbx_post_sidebar() #1 /var/www/mysite.be/mysite.be/wwwroot/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters() #2 /var/www/mysite.be/mysite.be/wwwroot/wp-includes/plugin.php(478): WP_Hook->do_action() #3 /var/www/mysite.be/mysite.be/wwwroot/wp-admin/edit-form-advanced.php(721): do_action() #4 /var/www/mysite.be/mysite.be/wwwroot/wp-admin/post-new.php(75): require(‘/var/www/mysite…’) #5 {main} thrown in /var/www/mysite.be/mysite.be/wwwroot/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/template-builder.class.php on line 320

    Thanks for the helping hand!

    #1271000

    Hey Weblevels,

    Could you try updating the theme to the latest version (4.7.6.4) to see if that helps please? https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#theme-update. Also make sure that you are running PHP 7.2 or higher on the server. If that doesn’t help then please post admin WordPress login details in private, so that we can have a closer look.

    Best regards,
    Rikard

    #1271095

    Unfortunately I’m already running 7.4 and a theme update didn’t help. Credentials in private.

    #1271120

    UPDATE

    I managed to fix it. I don’t think it was a theme related issue as switching themes also didn’t solve it. When trying to create a user for you I also noticed that creating a user was not possible.

    For people also coming on this page with the same problem, in my case my wp_posts and wp_user tables lost their AUTO_INCREMENT end ID was not set as primary key anymore.

    After fixing these database issues, everything worked again. Topics closed.

    #1271292

    Hi,

    Great, I’m glad that you found the problem and thanks for sharing your solution. I’ll go ahead and close this thread for now then, please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Not able to edit new blog post/page’ is closed to new replies.