WordPress.org

Ready to get started?Download WordPress

Forums

Background Manager
[resolved] Get PhP error when activating plug in (9 posts)

  1. wickedflavortv
    Member
    Posted 2 years ago #

    I keep getting this error

    Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /usr/local/pem/vhosts/107666/webspace/httpdocs/wickedflavortv/wp-content/plugins/background-manager/background-manager.php on line 45 Parse error: syntax error, unexpected T_STRING in /usr/local/pem/vhosts/107666/webspace/httpdocs/wickedflavortv/wp-content/plugins/background-manager/background-manager.php on line 45

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

  2. facebuko
    Member
    Posted 2 years ago #

    Got the same error:
    Parse error: syntax error, unexpected T_STRING

    When I replace the backslashes with forwardslashes on
    background-manager.php, it proceeded but got an error again
    because of the other backslashes found within the plugin files.

  3. myatu
    Member
    Plugin Author

    Posted 2 years ago #

    Parse error: syntax error, unexpected T_STRING in (...)/wp-content/plugins/background-manager/background-manager.php on line 45

    This error is due to the PHP version you are using. The plugin requires PHP version 5.3 or better.

    I will add this to the FAQ, as well as making this requirement more clear (it is stated in the "Installation" page, however).

    Technical reason: The plugin makes use of namespaces, as well as other features available in the most current versions of PHP 5.

  4. facebuko
    Member
    Posted 2 years ago #

    Ok, it works now! Updated my PHP version :)

  5. Ramzii
    Member
    Posted 2 years ago #

    How does one update his PHP version?

    I thought only the hosting company the server is located can do that?

  6. myatu
    Member
    Plugin Author

    Posted 2 years ago #

    How does one update his PHP version?

    I thought only the hosting company the server is located can do that?

    It really depends on your hosting provider.

    Some hosting providers, like OVH, you can set a variable in the .htaccess file, specifying which version of PHP to use.

    Others you need to specifically ask them to upgrade PHP or move you to a server with a newer version.

    If you have your own server, check the OS instructions on how to upgrade (ie., on Linux distros using 'apt-get', 'yum' or 'pacman').

  7. Asif Ali Siddiqui
    Member
    Posted 2 years ago #

    How the use this plugin in PHP Old version? like 5.2.5 plz inform.

  8. myatu
    Member
    Plugin Author

    Posted 2 years ago #

    Hi!

    I'm sorry, but this plugin will not work with any version older than PHP 5.3.

    You may try its predecessor WP Flickr Background.

  9. Asif Ali Siddiqui
    Member
    Posted 2 years ago #

    Thanks for the updates… I have use the WP Flickr Background but fade in/out effects it’s not working, and Change Frequency the its too long, I thing time use in 5 to 10 sec.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic