Support » Fixing WordPress » PHP Fatal error: Call to undefined function

  • [15-Aug-2015 22:51:23 Australia/NSW] PHP Fatal error: Call to undefined function add_action() in /home/********/public_html/wp-content/plugins/hello.php on line 60
    [19-Aug-2015 13:39:37 Australia/NSW] PHP Fatal error: Call to undefined function add_action() in /home/********/public_html/wp-content/plugins/hello.php on line 60

    When is this going to be fixed ?

    Version 4.2.4

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

    (@macmanx)

    Volunteer Moderator

    When is this going to be fixed ?

    Hard to say, you’ll have to find out what’s causing the problem first. 🙂

    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 FTP or SFTP, 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).

    I’m not sure that there is anything to fix. Do your server log files indicate that the file is being accessed directly for some reason?

    https://core.trac.wordpress.org/ticket/24224

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Fatal error: Call to undefined function’ is closed to new replies.