WordPress.org

Ready to get started?Download WordPress

Forums

Fatal Error (9 posts)

  1. EastonRoyce
    Member
    Posted 6 years ago #

    Just downloaded 3.x. Getting the following error when I try to activate it:

    Parse error: syntax error, unexpected T_VARIABLE in /home/roycesof/public_html/mokonamodoki-com/wp-content/plugins/adsense-manager/class-admin.php on line 286

    Any ideas?

    I used the one click plugin updater.

    http://wordpress.org/extend/plugins/adsense-manager/

  2. mutube
    Member
    Posted 6 years ago #

    EastonRoyce: I think it's a php4 incompatibility thing. I've re-checked the code and uploaded as 3.0.1. Have a look and let me know if you're still having trouble, thanks.

  3. Andrew
    Member
    Posted 6 years ago #

    I am getting a similar error issue. I only started to get this error when I upgraded to 3.0. Anyone know how to fix it???

    Parse error: parse error, unexpected T_VARIABLE in /wp-content/plugins/adsense-manager/class-admin.php on line 313

    I am using 3.0.4.

    Thanks!
    Andrew

  4. mutube
    Member
    Posted 6 years ago #

    boober: Can you try and download 3.0.5 (the versions are rattling past as I bugfix reports)? It may not solve the problem but it will make sure you're looking at the same version as me.

    I'm going to go through the code again... I really need to get myself a php4 testing environment! :(

  5. cryogenn
    Member
    Posted 6 years ago #

    Similar problem, I get the error:

    Parse error: parse error, unexpected T_VARIABLE in /home/content/n/u/f/[sitename removed]/html/wp-content/plugins/adsense-manager/class-admin.php on line 313

    Using version 3.0.5

  6. mutube
    Member
    Posted 6 years ago #

    Update: I've dug out an php4 box and tested it. Sure enough I'd managed to hit about every single php4 vs. php5 compatibility bug going. It's now hacked to pieces to make it work :)

    Tested and functional here... v3.0.7 :)

    Thanks for the feedback.

  7. cryogenn
    Member
    Posted 6 years ago #

    Works now, thanks.

  8. mutube
    Member
    Posted 6 years ago #

    cryogenn: Thanks for letting me know, much appreciated. If you spot anything else out of the ordinary or have any ideas for updates let me know!

    Now it's got through the upgrade period it's time for features...

  9. Andrew
    Member
    Posted 6 years ago #

    I now got the plugin correctly working with 3.0.7!!! Thanks so much!!!

Topic Closed

This topic has been closed to new replies.

About this Topic