WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Daniel Bozo
    Member
    Posted 3 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
    Member
    Posted 3 years ago #

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

  3. Jandal
    Member
    Posted 3 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
    http://wordpress.org/extend/plugins/cd-ad-sponsor/
    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
    Member
    Posted 3 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

About this Topic