Viewing 5 replies - 1 through 5 (of 5 total)
  • same for me

    I found this answer, hope it works for you guys too

    https://www.ads-software.com/support/topic/not-working-need-help?replies=10

    Plugin Author mpvanwinkle77

    (@mpvanwinkle77)

    So it looks like this might be a php version issue. The __DIR__ constant only exists in 5.3 and higher. Can you confirm that you are running a version of php older than that?

    I have the problem on my local server running 5.3.8 and a prod server running 5.3.24, and version 2.2.4 of the plugin. (2.2.3 works)

    I don’t think it’s a __DIR__ issue, the file
    /wp-content/plugins/simplr-registration-form/lib/sreg.class.php does not exist in the install.

    The message I get is:
    Warning: require_once(/home/<path removed>/wp-content/plugins/simplr-registration-form/lib/sreg.class.php) [function.require-once]: failed to open stream: No such file or directory in /home/<path removed>/wp-content/plugins/simplr-registration-form/simplr_form_functions.php on line 439

    Line 439 is looking for that file:
    ‘require_once __DIR__.’/lib/sreg.class.php’;’

    Plugin Author mpvanwinkle77

    (@mpvanwinkle77)

    I’ve pushed up a new version that should fix these issues. Thanks for reporting. And please let me know if you continue receiving the error.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘missing file sreg.class.php!!!!’ is closed to new replies.