• Resolved writester

    (@writester)


    Hi. I’m running the Sento theme and never had a problem with your plugin before. Love it! I just had a fatal error though that crashed my site. My ISP finally had to disable your plugin to get me back online. They told me to show you this code. I don’t know if it means anything to you, or if anyone else has had this problem, but I thought you might want to see it:

    Fatal error: Uncaught exception ‘Exception’ with message ‘parse error: failed at $hamburger-layer-color: ; line: 6′ in /home/stacitro/public_html/wp-content/plugins/responsive-menu/src/app/Mappers/scssphp/scss.inc.php:4051 Stack trace: #0 /home/stacitro/public_html/wp-content/plugins/responsive-menu/src/app/Mappers/scssphp/scss.inc.php(2739): scss_parser->throwParseError() #1 /home/stacitro/public_html/wp-content/plugins/responsive-menu/src/app/Mappers/scssphp/scss.inc.php(121): scss_parser->parse(‘\n @media scr…’) #2 /home/stacitro/public_html/wp-content/plugins/responsive-menu/src/app/Mappers/ScssButtonMapper.php(58): scssc->compile(‘\n @media scr…’) #3 /home/stacitro/public_html/wp-content/plugins/responsive-menu/src/app/Factories/CssFactory.php(18): ResponsiveMenu\Mappers\ScssButtonMapper->map() #4 /home/stacitro/public_html/wp-content/plugins/responsive-menu/src/app/Factories/FrontDisplayFactory.php(15): ResponsiveMenu\Factories\CssFactory->build(Object(ResponsiveMenu\Collections\OptionsCollection)) #5 /h in /home/stacitro/public_html/wp-content/plugins/responsive-menu/src/app/Mappers/scssphp/scss.inc.php on line 4051

    So, yeah. Not sure what that meant, or if it’s specific only to me, but there you have it. At some point, I’d love to try to get this plugin again, but I guess for now, I can’t. Unless you have any ideas? Thanks. (I’m not really looking for a solution; this is more an FYI kind of thing, I suppose.)

    https://www.ads-software.com/plugins/responsive-menu/

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Contributor responsivemenu

    (@responsivemenu)

    Hi there,

    You can simply go into your admin (you should still be able to access the admin fine) and click Update Options and all will be ok again.

    It is all explained on the following page:

    https://responsive.menu/upgrading-from-version-2-to-version-3/

    Let me know how you get on.

    All the best

    Thread Starter writester

    (@writester)

    If and when I get brave enough, I’ll give it a try. Thanks for pointing this out to me. I was convinced I was the only one with this issue.

    Plugin Contributor responsivemenu

    (@responsivemenu)

    Hey,

    No don’t worry you’re not alone – its a known issue due to the major update from 2.0 to 3.0 versions but will only be a one-off and won’t affect new installations, only upgrades.

    It’s also a simple fix (just a refresh of the options in the admin area).

    Please let me know how you get on when you try it.

    All the best

    I wanted to add a little to this. I had the same issue but I was not able to get to the site at all – white screen with error message.
    I was able to ftp in to the server and replace the 3.x version of the plugin with the 2.8.9. My sites were restored. Thought this might help someone else.

    Plugin Contributor responsivemenu

    (@responsivemenu)

    Hi Karen,

    Could you definetely not get to the admin area at all?

    The error message mentioned above only effects the front end of the site and should not affect the admin at all.

    Of course reverting back to 2.9 stops the error but Im interested in the error caused by 3.0 and not being able to get to the admin as they should be secluded from eachother.

    I tried it on around 15 dev sites and was always able to get to the admin area ok.

    All the best

    I’ve just updated to new version and hit a PHP error message. I’ve used FTP to rename the plugin directory to get back into my admin area.

    The error I got was:

    Parse error: syntax error, unexpected T_FUNCTION in /home/content/06/7129406/html/wp-content/plugins/responsive-menu/responsive-menu.php on line 24

    Hope that helps you to pinpoint the error.

    BTW Great little plugin for non-responsive themes. Well done and thank you.

    Plugin Contributor responsivemenu

    (@responsivemenu)

    Hey there,

    What PHP Version are you using? It seems your site doesn’t like anonymous PHP functions but i thought they were added in PHP 5.4 so not sure why your site doesn’t like them.

    If you could let me know your PHP version it would be great to help me do some more testing on that specific PHP version.

    All the best

    Yes. PHP version has caused me problems before. GoDaddy seem to be a bit slow to update. My account is still using 5.2.17

    -- Webserver Configuration
    
    PHP Version:              5.2.17
    MySQL Version:            5.0.96
    Webserver Info:           Apache

    GoDaddy have two shared hosting services for WordPress. I’ve got the old fashioned version. I manage another site on GoDaddy using their super duper WP customised service and it’s using 5.4.43 I would switch all my old fashioned accounts to the new version but they would charge me more and it is not an automated process so I would have to port each of my websites from several accounts. Just too much work. Sorry. Can you find a workaround so that your plugin keeps working on 5.2.17?

    It may well be the php version. The server where the site update crashed the site has php 5.2.17. The sites that did not have a problem have 5.6.x. Hope that helps.

    Plugin Contributor responsivemenu

    (@responsivemenu)

    Hi dccharron,

    Unfortunately not as those PHP versions are so outdated that they are not even supported by PHP themselves anymore.

    Im suprised that GoDaddy uses PHP 5.2, I find that ridiculous as it was released in 2006 and stopped being supported in January 2011, over 5 1/2 years ago. I’d worry for the security and stability of your sites on software that old.

    Even their super package still runs an unsupported version of PHP (5.4 support was dropped in September 2015).

    Ive fixed the notice so it wont crash peoples sites anymore but theres no way it can work with 5.2 as its just too old now.

    Apologies and hope you can get a good host soon!

    All the best

    No problem. I understand completely. Thanks for considering it. What a shame I will have to abandon your plugin, at least for now.

    I don’t know why GoDaddy don’t upgrade their PHP.

    Good luck.

    PS. If you should ever change your mind, please let me know.

    I have just discovered that I can upgrade my PHP on GoDaddy by using the Programming Languages link on their Hosting panel) to 5.4

    Is that high enough for your plugin.

    I can’t do it now because the website could go down for 45 minutes so I need to plan for this outage.

    Plugin Contributor responsivemenu

    (@responsivemenu)

    Hey dccharron,

    Yes PHP 5.4 is the minimal requirement for the plugin so it should be enough!

    I hope it fixes it for you!

    I have the same issue as well and it is due to the same legacy version of PHP. Is it possible for you to build in a try..catch around some of the code so that it’s more backwards compatible friendly?

    Not sure if @qwerks is using GoDaddy. If so I just want to report that I just upgraded my GoDaddy account to use 5.4 and everything seems to be working correctly including this Responsive Menu plugin. The update was supposed to take up to 45 minutes but I found it had completed in less than 5 minutes. I’m now on PHP 5.4.19

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Website Crash and Error Code’ is closed to new replies.