Support » Plugin: Slide Anything - Responsive Content / HTML Slider and Carousel » New update crashes entire website

  • Resolved sandrinegc

    (@sandrinegc)


    I have just recently updated this plugin which led to the whole website going down with the following error message:

    Parse error: syntax error, unexpected ‘[‘ in /var/www/new.gocampus.us/www/wp-content/plugins/slide-anything/php/slide-anything-frontend.php on line 90

    You can see for yourself by trying to access gocampus.us

    I cannot even access the WP dashboard to make any changes and WP says the “site cannot be accessed”

    Please help!

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

    (@simonpedge)

    Yes, I’ve just fixed this issue with version 2.0.2 of the plugin.

    This error was occurring if your web hosting was running a PHP version older than 5.4 that didn’t support Array Dereferencing – I have removed array dereferencing from the Slide Anything PHP code and this issue is now resolved.

    You will have to access your server via FTP (or cPanel File Manager), and remove the entire folder:
    /wp-content/plugins/slide-anything/
    And then your WP Dashboard will be functioning again, and you can then install Slide Anything 2.0.2.

    Sorry about any inconvenience.
    (This was a tough bug to foresee as I don’t have access to any web hosts running the older versions of PHP)

    Thank you so much for your help and support!!

    Plugin Author simonpedge

    (@simonpedge)

    I’m glad we managed to sort it out 😉

    Hi
    Can you not update your version of PHP in your control panel?

    With my hosting provider I can select different versions up to PHP 7, this version is obviously the latest version and it is suppose to be a lot faster as well.

    Colin

    Plugin Author simonpedge

    (@simonpedge)

    Yes, actually in most cPanels you can change the version of PHP being used. That could have been another way of resolving this issue, but I would have told every person experiencing this issue in future to do that. Much easier to just amend my code so that it works on PHP 5.3 – it was a 1 line change 😉

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.