Title: Error Log = PHP Fatal error
Last modified: August 21, 2016

---

# Error Log = PHP Fatal error

 *  [WayneM1](https://wordpress.org/support/users/waynem1/)
 * (@waynem1)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/error-log-php-fatal-error/)
 * Just wanted to pass this on. Getting this in my error log in the Advanced Browser
   Check plugin directory:
 *     ```
       [07-Aug-2013 09:22:05] PHP Fatal error:  Call to undefined function add_action() in /home/user/public_html/wp-content/plugins/advanced-browser-check/init.php on line 5
       [07-Aug-2013 17:23:34] PHP Fatal error:  Call to undefined function add_action() in /home/user/public_html/wp-content/plugins/advanced-browser-check/init.php on line 5
       [07-Aug-2013 18:17:35] PHP Fatal error:  Call to undefined function add_action() in /home/user/public_html/wp-content/plugins/advanced-browser-check/init.php on line 5
       [08-Aug-2013 01:45:14] PHP Fatal error:  Call to undefined function add_action() in /home/user/public_html/wp-content/plugins/advanced-browser-check/init.php on line 5
       [08-Aug-2013 08:56:50] PHP Fatal error:  Call to undefined function add_action() in /home/user/public_html/wp-content/plugins/advanced-browser-check/init.php on line 5
       ```
   
 * This really great plugin seems to be working fine other than this error.
 * Thanks for this handy and very useful plugin.
 * [http://wordpress.org/plugins/advanced-browser-check/](http://wordpress.org/plugins/advanced-browser-check/)

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

 *  Plugin Author [Mattias](https://wordpress.org/support/users/darkwhispering/)
 * (@darkwhispering)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/error-log-php-fatal-error/#post-4008790)
 * Thanks, I will investigate on this error.
 * Is it breaking the plugin or site for you? or just logging in the error log?
 *  Thread Starter [WayneM1](https://wordpress.org/support/users/waynem1/)
 * (@waynem1)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/error-log-php-fatal-error/#post-4008791)
 * Plugin works great. Just logs this error.
 *  Plugin Author [Mattias](https://wordpress.org/support/users/darkwhispering/)
 * (@darkwhispering)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/error-log-php-fatal-error/#post-4008793)
 * Okay, thanks for the info.
 * I will take a look at this, never good to have errors in the log, even though
   they don’t seem to crash anything.
 *  [ekit](https://wordpress.org/support/users/ekit/)
 * (@ekit)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/error-log-php-fatal-error/#post-4008824)
 * Hi,
    I have the same problem – did you find any solution?
 *  Plugin Author [Mattias](https://wordpress.org/support/users/darkwhispering/)
 * (@darkwhispering)
 * [12 years ago](https://wordpress.org/support/topic/error-log-php-fatal-error/#post-4008825)
 * Hi all,
 * I have not been able to find this specific issue. However, I have just released
   a new major version that include a lot of rewritten code. I’m hoping that this
   error disappears with that.
 * Please update and let me know if you still having issues.
 *  [webrev](https://wordpress.org/support/users/webrev/)
 * (@webrev)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/error-log-php-fatal-error/#post-4008826)
 * I have the same issue and only work around for me was to temporarily disable 
   the plugin… hope you get it resolved soon.
 *  Plugin Author [Mattias](https://wordpress.org/support/users/darkwhispering/)
 * (@darkwhispering)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/error-log-php-fatal-error/#post-4008827)
 * Hi [@webrev](https://wordpress.org/support/users/webrev/)
 * This error is from an older version of the plugin then the current stable version.
 * Do you use the old version and have this issue or is it with the new version?
   
   Can you please post your exact error message.
 * Thanks
 *  [webrev](https://wordpress.org/support/users/webrev/)
 * (@webrev)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/error-log-php-fatal-error/#post-4008828)
 * Using version: 3.0.3
 * Error message:
    Fatal error: Call to undefined function add_action() in /home/
   user/public_html/wp-content/plugins/advanced-browser-check/advanced-browser-check.
   php on line 14
 *  Plugin Author [Mattias](https://wordpress.org/support/users/darkwhispering/)
 * (@darkwhispering)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/error-log-php-fatal-error/#post-4008829)
 * Hi,
 * Are you using any caching plugin on your site? Sometimes I have received this
   issue after activating the plugin when having caching plugins running.
 * Clearing all caches solves the issue for me. Please let me know.
 *  [Dustin Nordquist](https://wordpress.org/support/users/dustinnordquistgmailcom/)
 * (@dustinnordquistgmailcom)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/error-log-php-fatal-error/#post-4008830)
 * After updating plugin, my server has same 500 error as webrev. the updated plugin
   displayed a semi-transparent black that overlayed every page on frontend.
 * I deleted all Cache, but problem persisted. So, I deactivated the plugin (but
   will update and reactive if/when this is resolved). Thanks.

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

The topic ‘Error Log = PHP Fatal error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/advanced-browser-check_ffffff.svg)
 * [Advanced Browser Check](https://wordpress.org/plugins/advanced-browser-check/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-browser-check/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-browser-check/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-browser-check/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-browser-check/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-browser-check/reviews/)

 * 10 replies
 * 5 participants
 * Last reply from: [Dustin Nordquist](https://wordpress.org/support/users/dustinnordquistgmailcom/)
 * Last activity: [11 years, 12 months ago](https://wordpress.org/support/topic/error-log-php-fatal-error/#post-4008830)
 * Status: not resolved