Title: Fatal Error
Last modified: September 30, 2019

---

# Fatal Error

 *  Resolved [pq](https://wordpress.org/support/users/pq/)
 * (@pq)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-3299/)
 * Plugin killed my site. Can’t log in to deactivate.
 * Fatal error: Uncaught Error: Using $this when not in object context in /nas/content/
   staging/trinitypts/wp-content/plugins/stonehenge-em-osm/config/init.php:467 Stack
   trace: #0 [internal function]: Stonehenge_Plugin::register_options(”) #1 /nas/
   content/staging/trinitypts/wp-includes/class-wp-hook.php(286): call_user_func_array(
   Array, Array) #2 /nas/content/staging/trinitypts/wp-includes/class-wp-hook.php(
   310): WP_Hook->apply_filters(”, Array) #3 /nas/content/staging/trinitypts/wp-
   includes/plugin.php(465): WP_Hook->do_action(Array) #4 /nas/content/staging/trinitypts/
   wp-content/plugins/stonehenge-em-osm/config/license.php(63): do_action(‘stonehenge_load…’)#
   5 /nas/content/staging/trinitypts/wp-content/plugins/stonehenge-em-osm/config/
   license.php(291): Stonehenge_License::is_valid(Array) #6 /nas/content/staging/
   trinitypts/wp-content/plugins/stonehenge-em-osm/stonehenge-em-osm.php(25): start_stonehenge(
   Array) #7 /nas/content/staging/trinitypts/wp-content/plugins/stonehenge-em-osm/
   stonehenge-em-osm.php(303): Stonehenge_EM_O in /nas/content/staging/trinitypts/
   wp-content/plugins/stonehenge-em-osm/config/init.php on line 467
    The site is
   experiencing technical difficulties.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-3299%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [pq](https://wordpress.org/support/users/pq/)
 * (@pq)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-3299/#post-11982642)
 * Update: removed the plugin using sftp; updated WP core & re-added plugin. Activation
   killed the site again. Will remove again, but all of the events use maps so not
   sure how to proceed. Obviously I can’t push this to production.
 *  Plugin Author [Stonehenge Creations](https://wordpress.org/support/users/duisterdenhaag/)
 * (@duisterdenhaag)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-3299/#post-11982649)
 * I am not able to replicate this issue. Just did a new install (cleaned my database)
   and it activated normally.
 * What version of PHP are you using?
 *  Thread Starter [pq](https://wordpress.org/support/users/pq/)
 * (@pq)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-3299/#post-11983289)
 * PHP 7.2. Do I need to upgrade to 7.3?
 *  Thread Starter [pq](https://wordpress.org/support/users/pq/)
 * (@pq)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-3299/#post-11983486)
 * I just rolled back the plugin to version 2.5.0 and the site works now. The error
   message that v. 2.9.3 generates (pasted in above) is pretty specific; is it not
   enough to go on?
 * I can’t leave my staging site broken; esp. can’t risk having the broken plugin
   merged inadvertently into production, so am going to keep the old version and
   maybe try again with the next update. Hope this gets figured out.
 *  Plugin Author [Stonehenge Creations](https://wordpress.org/support/users/duisterdenhaag/)
 * (@duisterdenhaag)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-3299/#post-11983598)
 * No it is not, unfortunately…
    Because you seem to be the only one of 600+ users
   to experience that line as an error. So that makes it very difficult to replicate
   and even solve… Also, a similar line (just the naming of the variable differs)
   has been in this plugin since version 2.6.0. 😉 And the identical /config/ folder
   is used in all my plugins.
 * Assuming you are using the latest versions of WP and EM, the only thing I can
   think of, is that some other plugin is interfering. You could test that by deactivating
   all plugins, switch to a default theme (pref. Twentytwelve as it’s still the 
   safest), activate only Events Manager and EM – OSM to see if the problem still
   plays up.
    -  This reply was modified 6 years, 7 months ago by [Stonehenge Creations](https://wordpress.org/support/users/duisterdenhaag/).

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

The topic ‘Fatal Error’ is closed to new replies.

 * ![](https://ps.w.org/stonehenge-em-osm/assets/icon-256x256.jpg?rev=2143406)
 * [Events Manager - OpenStreetMaps](https://wordpress.org/plugins/stonehenge-em-osm/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/stonehenge-em-osm/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/stonehenge-em-osm/)
 * [Active Topics](https://wordpress.org/support/plugin/stonehenge-em-osm/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/stonehenge-em-osm/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/stonehenge-em-osm/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Stonehenge Creations](https://wordpress.org/support/users/duisterdenhaag/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-3299/#post-11983598)
 * Status: resolved