Support » Plugin: Akismet Spam Protection » Fatal error in akismet.php on line 33

  • Resolved onurkaplan34

    (@onurkaplan34)


    Hello,

    When I looked at the log, it has many copies of the same error:
    PHP Fatal error: Call to undefined function plugin_dir_url() in /home/****/public_html/***/wp-content/plugins/akismet/akismet.php on line 33

    thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Christopher Finke

    (@cfinke)

    Hi @onurkaplan34,

    plugin_dir_url() is a core WordPress function that should always be available, unless someone is trying to access one of the Akismet plugin files directly.

    Also, I don’t see plugin_dir_url() being used in akismet.php at all; what version of Akismet are you using? You may want to remove it and install the latest version to make sure that it is up-to-date.

    Thread Starter onurkaplan34

    (@onurkaplan34)

    Hello @cfinke

    I updated wordpress, the problem was fixed, I did not understand a strange situation.

    • This reply was modified 9 months, 2 weeks ago by onurkaplan34.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error in akismet.php on line 33’ is closed to new replies.