• Resolved babymilo

    (@babymilo)


    When i download and activate the plugin, i get this error message: “There has been a critical error on your website. Please check your site admin email inbox for instructions”. In my error_log, it reads:

    [20-Jan-2020 10:14:18 UTC] PHP Fatal error: Uncaught Error: Using $this when not in object context in /home/oamsnavi/public_html/wp-content/plugins/events-manager-email-users/events-manager-email-users.php:67
    Stack trace:
    #0 /home/oamsnavi/public_html/wp-includes/class-wp-hook.php(288): Stonehenge_EM_Email_Users::init(”)
    #1 /home/oamsnavi/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(”, Array)
    #2 /home/oamsnavi/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #3 /home/oamsnavi/public_html/wp-content/plugins/events-manager-email-users/events-manager-email-users.php(31): do_action(‘events-manager-…’)
    #4 /home/oamsnavi/public_html/wp-content/plugins/events-manager-email-users/events-manager-email-users.php(218): Stonehenge_EM_Email_Users->__construct()
    #5 /home/oamsnavi/public_html/wp-includes/class-wp-hook.php(288): {closure}(”)
    #6 /home/oamsnavi/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array)
    #7 /home/oamsnavi/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(A in /home/oamsnavi/public_html/wp-content/plugins/events-manager-email-users/events-manager-email-users.php on line 67

    And as long as i deactivate the plugin, my site works just fine. I would love to learn how to fix this so i can use your plugin.

Viewing 1 replies (of 1 total)
  • Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    Have you updated to PHP 7.4?
    This plugin is not yet compatible with PHP 7.4.

    Currently working on it and it should be solved within a couple of days.

Viewing 1 replies (of 1 total)
  • The topic ‘Critical error upon activating the plugin’ is closed to new replies.