Title: PHP Fatal error -error_log
Last modified: January 6, 2018

---

# PHP Fatal error -error_log

 *  [pannonark](https://wordpress.org/support/users/pannonark/)
 * (@pannonark)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/php-fatal-error-error_log/)
 * Hello Tomi,
 * I moved my webpage from Nginx (Engintron) to LSWS (Litespeed web server) 7 days
   ago, and since my error_log stuffed with this messages:
 * [06-Jan-2018 06:01:21 UTC] PHP Fatal error: Uncaught Error: Cannot use object
   of type WP_Error as array in /www/wp-content/plugins/duracelltomi-google-tag-
   manager/public/frontend.php:446
    Stack trace: #0 /www/wp-includes/class-wp-hook.
   php(286): gtm4wp_wp_loaded(”) #1 /www/wp-includes/class-wp-hook.php(310): WP_Hook-
   >apply_filters(NULL, Array) #2 /www/wp-includes/plugin.php(453): WP_Hook->do_action(
   Array) #3 /www/wp-settings.php(471): do_action(‘wp_loaded’) #4 /www/wp-config.
   php(109): require_once(‘/home/wordsmag/…’) #5 /www/wp-load.php(37): require_once(‘/
   home/wordsmag/…’) #6 /www/wp-cron.php(33): require_once(‘/home/wordsmag/…’) #
   7 {main} thrown in /www/wp-content/plugins/duracelltomi-google-tag-manager/public/
   frontend.php on line 446
 * I reinstalled WordPress (automatic), plugins switched off and on again, checked
   the implementation of the code ( head or body –same ) – but gives me this errors
   still.
 * As it before was ok, that’s why I think its related the web server software…
   
   What could be wrong?
 * köszi,
 * Zoltan
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-fatal-error-error_log%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Thomas Geiger](https://wordpress.org/support/users/duracelltomi/)
 * (@duracelltomi)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/php-fatal-error-error_log/#post-9839807)
 * Hi Zoltán,
 * This is a known bug that has been fixed in the dev version of the plugin. Until
   its release, you could disable weather tracking in plugin settings.

Viewing 1 replies (of 1 total)

The topic ‘PHP Fatal error -error_log’ is closed to new replies.

 * ![](https://ps.w.org/duracelltomi-google-tag-manager/assets/icon-256x256.png?
   rev=1708451)
 * [GTM4WP - A Google Tag Manager (GTM) plugin for WordPress](https://wordpress.org/plugins/duracelltomi-google-tag-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duracelltomi-google-tag-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/reviews/)

## Tags

 * [gtm](https://wordpress.org/support/topic-tag/gtm/)
 * [PHP Fatal error](https://wordpress.org/support/topic-tag/php-fatal-error/)

 * 1 reply
 * 2 participants
 * Last reply from: [Thomas Geiger](https://wordpress.org/support/users/duracelltomi/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/php-fatal-error-error_log/#post-9839807)
 * Status: not resolved