failed to open stream: No such file or directory in classes/event-locations/…
-
Been fighting with the error message today and here’s my solution…
Fatel Error:
Warning: require(em-event-location.php): failed to open stream: No such file or directory in classes/event-locations/em-event-locations.php on line 68Fatal error: require(): Failed opening required ’em-event-location.php’ (include_path=’.’) in classes/event-locations/em-event-locations.php on line 68
changed line 68 in the em-event-locations.php file to manually include the full path right from cpanel for the domain…
require(‘/services/webpages/t/h/theatrewoodstock.com/public/wp-content/plugins/events-manager/classes/event-locations/em-event-location.php’);Yes, I know its not elegant.
Yes, I know it will be over-written with another update.
But it got my site running again
The fatal error had shutdown the site. Once I disabled the EM plugin, the site came back but any attempt to reactivate the EM plugin failed with the fatal error.
Clearly I have an issue with the path stmt…. Open to suggestionsWP 5.9.3
PHP 7.4.19
EM plugin 5.12.1
- The topic ‘failed to open stream: No such file or directory in classes/event-locations/…’ is closed to new replies.