• Resolved newbii

    (@newbii)


    PHP compatibility check plugin reports 2 errors, could you guys fix it?

    FILE: /home/demo/public_html/demo/wp-content/plugins/so-widgets-bundle/base/inc/lib/Less/Tree/Dimension.php
    ——————————————————————————————————————
    FOUND 2 ERRORS AFFECTING 1 LINE
    ——————————————————————————————————————
    161 | ERROR | Short array syntax (open) is available since 5.4
    161 | ERROR | Short array syntax (close) is available since 5.4
    ——————————————————————————————————————

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor alexgso

    (@alexgso)

    Hi newbii,

    This is a false positive. It’s 100% safe to ignore these warnings. I’m unsure why they’re being flagged as errors as they aren’t.

    Our main test instances are using the latest version of PHP and the minimum version WordPress allows for. We actively develop with both in mind so you have nothing to worry about in terms of compatibility.

    Thread Starter newbii

    (@newbii)

    It’s checking against PHP 5.3, it’d be great to support that version as well, some servers are still falling behind.

    Is it possible to change the syntax for that one line?

    Best regards

    Plugin Contributor alexgso

    (@alexgso)

    Hi Newbii,

    Oh! Very sorry for the misunderstanding. I’ve logged this issue on our GitHub and I’ve sent a message to Braam about it so it (hopefully) gets seen too soon.

    Regardless, I would strongly recommend getting in contact with your hosting provider about upgrading PHP. I understand this is really out of your control so I’m not blaming you for using such an old version but if we don’t pressure hosts to keep things updated, they’ll sadly never update until things simply stop working. 🙁

    Thread Starter newbii

    (@newbii)

    Hi Alex,

    Thanks for the prompt response:) We’ll contact our host about this issue.

    All the best for your awesome plugin!

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

The topic ‘PHP Compatibility Issue’ is closed to new replies.