Support » Plugin: Events Made Easy Frontend Submit » Broken include for wp-load.php

  • Resolved schliflo


    Hi, i am using this plugin with the bedrock stack for wordpress:
    This has a slightly altered folder structure for security and some other reasons (composer compatibility etc..).
    Your plugin is trying to load wp-load.php on line 2 of emefs-locations-search.php from a hardcoded path -> require_once('../../../wp-load.php');. This does not work because of the altered folder structure my setup has. I wrote a composer patch to fix this issue on my end, however as such an include you are doing is widely considered as bad practice I wanted to make you aware of it.
    A proper fix would be very much appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Broken include for wp-load.php’ is closed to new replies.