• how to fix below error

    [27-Jul-2022 06:07:39 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function add_theme_support() in /home/files/public_html/accredit/site/wp-includes/block-patterns.php:9
    Stack trace:
    #0 {main}
      thrown in /home/files/public_html/accredit/site/wp-includes/block-patterns.php on line 9
    [27-Jul-2022 06:07:52 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function add_filter() in /home/files/public_html/accredit/site/wp-includes/blocks.php:1272
    Stack trace:
    #0 {main}
      thrown in /home/files/public_html/accredit/site/wp-includes/blocks.php on line 1272
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @jassimp

    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, navigate to /wp-content/themes/, and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule out a theme-specific issue (theme functions can interfere like plugins).

    Thanks

    Thread Starter jassimp

    (@jassimp)

    Thank you @Aezaz Shekh
    actually, i am not seeing any issue in the site first sight
    this error i found in the log
    how we will know this is solved or not?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP Fatal error: Uncaught Error: Call to undefined function add_filter()’ is closed to new replies.