• ant385

    (@ant385)


    After i upgrade to 6.1 i get those errors, can somebody help with this?

    [05-Nov-2022 20:29:36 UTC] PHP Fatal error: Uncaught Error: Class “WP_Widget” not found in /home2/gradimo/public_html/wp-includes/widgets/class-wp-widget-block.php:17
    Stack trace:
    #0 {main}
    thrown in /home2/gradimo/public_html/wp-includes/widgets/class-wp-widget-block.php on line 17

    [05-Nov-2022 20:28:41 UTC] PHP Fatal error: Uncaught Error: Undefined constant “ABSPATH” in /home2/gradimo/public_html/wp-includes/blocks/index.php:8
    Stack trace:
    #0 {main}
    thrown in /home2/gradimo/public_html/wp-includes/blocks/index.php on line 8

    [05-Nov-2022 20:27:07 UTC] PHP Fatal error: Uncaught Error: Undefined constant “ABSPATH” in /home2/gradimo/public_html/wp-includes/class-wp-http.php:11
    Stack trace:
    #0 {main}
    thrown in /home2/gradimo/public_html/wp-includes/class-wp-http.php on line 11
    [05-Nov-2022 20:27:10 UTC] PHP Fatal error: Uncaught Error: Class “WP_Dependencies” not found in /home2/gradimo/public_html/wp-includes/class-wp-scripts.php:18
    Stack trace:
    #0 {main}
    thrown in /home2/gradimo/public_html/wp-includes/class-wp-scripts.php on line 18
    [05-Nov-2022 20:27:14 UTC] PHP Fatal error: Uncaught Error: Class “WP_Dependencies” not found in /home2/gradimo/public_html/wp-includes/class-wp-styles.php:18
    Stack trace:
    #0 {main}
    thrown in /home2/gradimo/public_html/wp-includes/class-wp-styles.php on line 18
    [05-Nov-2022 20:27:51 UTC] PHP Fatal error: Uncaught Error: Call to undefined function get_the_block_template_html() in /home2/gradimo/public_html/wp-includes/template-canv
    as.php:12
    Stack trace:
    #0 {main}
    thrown in /home2/gradimo/public_html/wp-includes/template-canvas.php on line 12

    • This topic was modified 2 years ago by ant385.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator James Huff

    (@macmanx)

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/themes/ and rename the directory of your currently active theme. Hopefully, this will force the default theme to activate and rule out a theme-specific issue (theme functions can interfere like plugins).

    Thread Starter ant385

    (@ant385)

    This didnt help, still same errors

    Moderator James Huff

    (@macmanx)

    Ok, try downloading WordPress again, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), and delete then replace your copies of everything on the server except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings.

    If you’d like to manually make a backup of your site first, please follow the steps at https://www.ads-software.com/support/article/wordpress-backups/

    Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    Thread Starter ant385

    (@ant385)

    I try this but didint help

    Thread Starter ant385

    (@ant385)

    Any other idea?

    Moderator James Huff

    (@macmanx)

    Hm, so you’re still getting the errors with a fresh WordPress install, no active plugins, and the Twenty Twenty-Two theme in use?

    Which version of PHP is your server running? (check your hosting provider’s documentation for details on how to find and/or change that)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WordPress 6.1 errors’ is closed to new replies.