PHP Fatal error: Call to undefined function add_action()

This is a PRIVATE forum for verified users only, to view all replies/answers, you must be logged in!

Status: resolved
Viewing 3 reply threads
  • Author
    Posts
    • #11815

      razvantoma
      Member

      Hello,

      Some days ago I have received an email from Themeforest saying that I must update Visual Composer to the latest version because there are security issues with the Sparkle theme I am using.

      Now I have updated both Visual Composer and Sparkle but I get the following error on top of my screen:

      [16-Oct-2015 02:27:51 UTC] PHP Fatal error: Call to undefined function add_action() in /home/razvantoma/public_html/urbanieri.com/wp-content/plugins/js_composer/include/autoload/vendors/woocommerce.php on line 19

      And I am not even able to login to the Admin area of WordPress. This is the error I receive when trying to access the /wp-admin section:

      [16-Oct-2015 02:27:51 UTC] PHP Fatal error: Call to undefined function add_action() in /home/razvantoma/public_html/urbanieri.com/wp-content/plugins/js_composer/include/autoload/vendors/woocommerce.php on line 19
      Warning: Cannot modify header information – headers already sent by (output started at /home/razvantoma/public_html/urbanieri.com/wp-content/plugins/js_composer/include/autoload/vendors/error_log:2) in /home/razvantoma/public_html/urbanieri.com/wp-includes/pluggable.php on line 1207

      Would you please let me know what can I do to solve these issues?

      Many thanks.
      Razvan

    • #11832

      Jacob
      Staff

      Hey there, You must be logged in to view this reply!

      Login | Register | Forgot Password?

    • #11833

      Jacob
      Staff

      Hey there, You must be logged in to view this reply!

      Login | Register | Forgot Password?

    • #11836

      razvantoma
      Member

      Great. It worked.
      Many thanks Jacob.

Viewing 3 reply threads
  • You must be logged in to reply to this topic.

This is a PRIVATE forum for verified users only, to view all replies/answers, you must be logged in!

© Copyright 2020 by wpthms.com. All Rights Reserved.