• Resolved Mandy Roberson

    (@mandy-roberson)


    Receiving the following message when updating the plugin –

    Plugin could not be activated because it triggered a fatal error.

    Also triggering a syntax error –

    /plugins/subscribe-to-comments-reloaded/subscribe-to-comments-reloaded.php on line 19

    These errors actually took a client’s site offline, and I had to delete the plugin to get the site back up. Tried reinstalling with the latest version and received the errors again.

    https://www.ads-software.com/plugins/subscribe-to-comments-reloaded/

Viewing 15 replies - 16 through 30 (of 42 total)
  • Mandy,

    I spend quite a bit to figure out the problem. The code in StCR is OK, no syntanx error, the problem is that you are running a PHP version that does not suppot something call namespace this is why on the line 19 you get the error.

    You have to make sure that indeed you are running PHP 5.4.24 through BlueHost. I have the same version of PHP on my blog and there is no issue with this update.

    This is also reported on the GitHub repository.

    https://github.com/stcr/subscribe-to-comments-reloaded/issues/170

    Thread Starter Mandy Roberson

    (@mandy-roberson)

    I have verified that the site is running PHP 5.4.24. BlueHost is very clear on that.

    I appreciate your time on this, and wish there was a resolution to the issue. For now, we will stick with the older version of the plugin and hope there are no other problems.

    Thank you for your confirmation, if you ever have a change I would like to see the plugin in live action in your site, maybe we can have a meeting on skype or hangout, this is my email: reedyseth at gmail dot com

    I’m experiencing a very similar issue that started [12-Jan-2016 02:13:27] and hosting with BlueHost as well!

    PHP Parse error: syntax error, unexpected T_STRING in /home6/fyrstagi/public_html/scwebtop/wp-content/plugins/download-manager/download-manager.php on line 11

    Line 11 has "namespace WPDM;"

    WordPress Version: 4.4.1
    PHP: 5.2.17
    Download Manager Version: 2.8.9 (https://www.ads-software.com/plugins/download-manager/installation/)

    /home6/fyrstagi/public_html/scwebtop/wp-content/plugins/download-manager/download-manager.php on line 11

    Line 11 has “namespace WPDM;”

    I am afraid to say that this same error belongs to another plugin,but the answer is the same, namespace are not available on PHP versions prior to 5.3.x

    AH, the namespace/PHP version issue makes sense. Thanks, Reedyseth.

    Everything has been working for the past year with the same setup/configuration (at least WordPress/Download-Manager).

    We’re unsure if Bluehost has made any recent changes to our shared hosting PHP version. I’m currently waiting for a member of their support to assist.

    We’re unsure if Bluehost has made any recent changes to our shared hosting PHP version. I’m currently waiting for a member of their support to assist.

    Perhaps, since also @mandy uses bluehost.

    Thread Starter Mandy Roberson

    (@mandy-roberson)

    Thanks, Reedyseth. I will follow up with BlueHost again regarding this client’s site, but all server information indicates the most current PHP version. We are just beginning a redesign for her, so perhaps by the time that is complete, all conflicts will be resolved. Fingers crossed!

    @mandy,

    Another user make a discovery, quote:

    we happened to have an .htaccess override that was causing an older version of PHP to run.

    See https://www.ads-software.com/support/topic/error-just-after-install?replies=8#post-7883283

    Can you check if you have the same situation?

    Mandy and Reedyseth, not sure if this helps y’all…

    Fix – modify htaccess file to use PHP 5.4 as default:
    AddHandler application/x-httpd-php54 .php

    Bluehost doesn’t have the logs to find out why the PHP version was changed to 5.2. They updated to 5.4 and it now works!

    Outstanding comment @thomasnguyencom,

    Thanks for the info ??

    Hi

    I cannot login : https://qualitiges.org//wp-login.php

    I have as well the message : Parse error: syntax error, unexpected T_STRING in /home/qualitig/www/wp-content/plugins/subscribe-to-comments-reloaded/subscribe-to-comments-reloaded.php on line 19

    What is to be done to fix the issue by removing the plugin, knowing that I do not have files and folders of the blog on my PC and I cannot login to fix ?

    Thanks for your help

    Pretty much you have to follow whta @thomasnguyencom said or downgrade to this version:
    https://downloads.www.ads-software.com/plugin/subscribe-to-comments-reloaded.150611.zip

    You can do that via FTP.

    @qualitiges, if you have access to the FTP, what I did to disable the plugin is rename the folder/plugin. This will get you up back up and running until the issue is fixed.

    Obviously, use the plugin name that has the error (subscribe-to-comments-reloaded).

    • FROM: ./wp-content/plugins/download-manager/
    • TO: ./wp-content/plugins/download-manager-DISABLED/

    Thanks for the quick replies.

    I have just downloaded Filezilla.
    My wordpress blog is under https://qualitiges.org//wp-login.php (OVH)

    What are the parameters to connect (it doest not work with the following)
    Host : qualitiges.org Port
    Protocol : FTP
    Encryption FTP sur TLS
    Logon Type normal
    User qualitiges
    Password : MYPASSWORD
    Account

Viewing 15 replies - 16 through 30 (of 42 total)
  • The topic ‘Fatal error upon updating’ is closed to new replies.