Banner Garden Plugin for WordPress
Can't activate the plugin (4 posts)

  1. Daniel Bozo
    Posted 5 years ago #

    Parse error: syntax error, unexpected T_ECHO, expecting T_FUNCTION in C:\web\agria\wp-content\plugins\banner-garden\bannergarden.class.php on line 420

  2. Jandal
    Posted 4 years ago #

    I have the same error on my localhost too, unsure what is causing it in the code.

  3. Jandal
    Posted 4 years ago #

    I'm only receiving the error on my localhost, it appears to work fine on my live host.

    Parse error: parse error, expecting `T_FUNCTION' in D:\websites\site1.local\wp-content\plugins\banner-garden\bannergarden.class.php on line 420

    I tired to fix the issue in the plugin code, but it just got deeper after fixing the initial one. I also tried to figure out what server setting it might be that is causing such an error but had no luck there either.

    I'm now using
    But this also has its issues, but it is doing a good job for me for now.

    HTH, looking forward to an update from the author.
    Thanks for putting in the time to work on your plugins.

  4. Gustavo Straube
    Posted 4 years ago #

    Hi guys!

    I got the same error here. I found that is caused by short open tags. The solution is find all occurrences of '<\?[^p]' (regular expression) and replace by '<?php'.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Banner Garden Plugin for WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic