• Resolved ckcbarros

    (@ckcbarros)


    Hello!

    Enabling the plugin gives this error:
    Parse error: syntax error, unexpected T_STRING in /home/storage/2/3b/7f/gettub/public_html/wp-content/plugins/category-posts/cat-posts.php on line 21

    My php Server version: 5.6.35-81.0-log – Percona Server (GPL), Release 81.0, Revision c96c427

    Can you help me solve it? Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Daniel Floeter

    (@kometschuh)

    It’s definitif your PHP server version which is not up-to-date.
    We had many requests from hosted websites by GoDaddy. Do you host your website there?

    In any cases pleas check your PHP server version, maybe also at the admin panel or contact your hosting service.

    Or use a phpinfo()-page (phpinfo.php at your server file system), write this code lines into the files and call it with your web-browser:

    <?php
    
    // Show all information, defaults to INFO_ALL
    phpinfo();
    
    ?>
    Thread Starter ckcbarros

    (@ckcbarros)

    The blog is hosted in a company called Locaweb, I can not update php or modify files. 🙁

    Plugin Author Daniel Floeter

    (@kometschuh)

    It’s a managed WordPress installation you use?

    I recommend to cantact you Locaweb, e.g. via contact formular or via email and write you need a newer PHP version not a 5 years old one

    Thread Starter ckcbarros

    (@ckcbarros)

    Yes. I’ll get in touch with them and see, but company, until I know the answer: we do not support third-party plugins. 🙁

    But, thank you anyway. 😉

    Plugin Author Daniel Floeter

    (@kometschuh)

    Here are some interesting words from the WordPress creator Matt Mullenweg (the third last question):

    What role do hosting companies play in the WordPress ecosystem?

    MM: Hosting companies are crucial. The number one thing that they can do is help ensure that people are on the latest versions of PHP and MySQL, which will make things faster and more secure, and help ensure that people are on the latest versions of WordPress, which of course helps everyone.

    Quote source: Interview with WordPress Creator Matt Mullenweg

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Parse error: syntax error, unexpected T_STRING’ is closed to new replies.