Forum Replies Created

Viewing 16 replies (of 16 total)
  • Plugin Author Dirk Weise

    (@wedi)

    The reason for this failure is the pretty old PHP version on your server. The magic constant __DIR__ was introduced in PHP 5.3.0 so that seems to be the minimum PHP version requirement for this plugin atm.
    Try changing line 50 of /home/country/public_html/wp-content/plugins/limit-login-countries/limit-login-countries.php: replace __DIR__ with dirname(__FILE__). Please report what PHP version you are using and whether the plugin is working after that change. Thank you!

    Dirk

Viewing 16 replies (of 16 total)