• Resolved janaquinn78

    (@janaquinn78)


    I get this error when I am trying to activate the plugin:

    “Plugin could not be activated because it triggered a fatal error.
    Parse error: syntax error, unexpected ‘[‘ in /home/content/01/13975501/html/wp-content/plugins/slider-image/includes/class-hugeit-slider-ajax.php on line 232”

    • This topic was modified 8 years, 9 months ago by janaquinn78.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Dear janaquinn78,

    Thanks for contacting us.
    Please be kindly informed that this issue is related to your current PHP version.
    In order to get rid of it, please, try to do the following:
    change this line of code: $slides = !empty($_POST[‘slides’]) ? $_POST[‘slides’] : [];
    to this: $slides = !empty($_POST[‘slides’]) ? $_POST[‘slides’] : array();
    in the “/wp-content/plugins/slider-image/includes/class-hugeit-slider-ajax.php” on line 232

    If that doesn’t help, feel free to contact us directly using our Contact us page or Live Chat Box, which is available from 9.30-18.30 GMT+4 time zone.

    We will wait for your results.
    Thanks in advance

    Dear janaquinn78,

    It has been for a while that we haven’t received any reply on this topic. We are marking this ticket as resolved. Feel free to reply anytime with more information on this issue or un-resolve the topic if you do return to the ticket with a reply. We will be happy to assist you and answer all questions you have.

    Regards,

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

The topic ‘Fatal Error’ is closed to new replies.