Support » Plugin: Easy Ads » [Plugin: Easy Ads Lite] Broken

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author manojtd

    (@manojtd)

    May I know what the error is? And also your PHP version, if you have it. Thanks.

    Thread Starter webeida

    (@webeida)

    I’ve no idea what version PHP I have but the error I’m getting is as follows:

    Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or ‘(‘ in /content/Hosting/b/a/babogue.com/web/wp-content/plugins/easy-ads-lite/easy-ads.php on line 44

    Plugin Author manojtd

    (@manojtd)

    This plugin requires PHP5.3+. It actually checks for that version and is supposed to exit gracefully if the version is too old. Looks like the check doesn’t work for some versions of PHP! I will check it out and and push a fix.

    Thanks for reporting it. Appreciate it.

    If you are willing to run a test for me, could you edit the file validate.php in easy-ad-lite and change line 20 to:
    $phpVersion = floatval(phpversion()) ;

    And let me know if the activation gives a sensible message? Thanks.

    Thread Starter webeida

    (@webeida)

    I managed to check my PHP. I’ve 5.2 installed so hence why it won’t work.

    I also updated line 10 in validate.php but I still got the same error when I tried to activate it. So, it’s not exiting gracefully 🙂

    Thread Starter webeida

    (@webeida)

    when I said line 10, I meant line 20.

    Plugin Author manojtd

    (@manojtd)

    Thanks for testing. I will find some other way of enforcing the version requirement.

    Plugin Author manojtd

    (@manojtd)

    I think this issue is now fixed. Please give it a go if you get a chance.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Easy Ads Lite] Broken’ is closed to new replies.