Support » Plugin: Events Manager » PHP Fatal error: Uncaught Error: Class ‘EM_Object’ not found

  • i have this issue and it makes a db conection error i my site every other week , only fixit with a apache reboot and it works again. … any idea onhow to solv it ??

    [Sun Nov 05 22:56:40.907317 2023] [php7:error] [pid 735340] [client 40.77.167.254:63402] PHP Fatal error:  Uncaught Error: Class 'EM_Object' not found in ... /wp-content/plugins/events-manager/classes/em-tickets-bookings.php:29\nStack trace:\n#0 {main}\n  thrown in ... /wp-content/plugins/events-manager/classes/em-tickets-bookings.php on line 29
    [Sun Nov 05 23:22:32.746005 2023] [php7:error] [pid 735784] [client 52.167.144.216:43713] PHP Fatal error:  Uncaught Error: Class 'EM_Object' not found in ... /wp-content/plugins/events-manager/classes/em-taxonomy-term.php:6\nStack trace:\n#0 {main}\n  thrown in ... /wp-content/plugins/events-manager/classes/em-taxonomy-term.php on line 6
    
    • This topic was modified 3 months, 2 weeks ago by gzlonline.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Marcus

    (@msykes)

    That’s very strange if the error is solved simply by rebooting apache. I think this is likely a server issue of some sort rather than a bug in EM. I’d contact your host about this.

    Thread Starter gzlonline

    (@gzlonline)

    @msykes

    Might be the PHP version? We are actually using php74, probably we need to upgrade the PHP version? … but as I mentioned in the log file of Apache inside the /var/log/apache2 the only error that came it is from this plugin … so any ideas beside of contact the hosting provider?

    • This reply was modified 3 months, 2 weeks ago by gzlonline.
    Plugin Author Marcus

    (@msykes)

    I doubt it’s the PHP version itself, 7.4 is fine. The fact that randomly an object isn’t loading, my best guess would be a file loading problem of some kind.

    That’s why you’d get an error that looks like it’s from the plugin, but if you’re loading the same page and one day it works, the other it doesn’t because of a missing class loaded file without any other changes, it can’t be the plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.