• Resolved FreshIdeaWebsites

    (@freshideawebsites)


    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 68

    Fatal 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 suggestions

    WP 5.9.3
    PHP 7.4.19
    EM plugin 5.12.1

Viewing 1 replies (of 1 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    hi,

    You can re-post this in the Pro forum instead (or we already answered this in Pro forum).

Viewing 1 replies (of 1 total)
  • The topic ‘failed to open stream: No such file or directory in classes/event-locations/…’ is closed to new replies.