• Resolved queju

    (@queju)


    Hi,

    I can’t push the plugin to wpengine hosting because the plugin doesn’t pass their PHP syntax check. See error below:

    PHP Fatal error: Cannot use ‘Object’ as class name as it is reserved in Standard input code on line 7
    wp-content/plugins/wordpress-popup/vendor/aweber/aweber/tests/OAuthApplicationTest.php

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @queju ,

    I’m sorry about this issue, however, I’m not able to replicate this on the wpengine hosting.
    I have there PHP 7.2 and I was able to install Hustle without any issue.
    What exact PHP version you have and what are steps to replicate this problem?

    kind regards,
    Kasia

    Thread Starter queju

    (@queju)

    Hi Kasia,

    It says:

    PHP Version: 7.2

    It lets you push the plugin using sftp and it probably doesn’t generate this error on the site since it in some test class. BUT it doesn’t let me push the plugin through GIT, since wpengine has some pre-checks on the code.

    The error I gave you is exactly what it returned me when pushing.

    Hope this helps.
    I would check with their support.

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @queju,

    I’m sorry for the late response, I have sent a message to our developer and they are checking this issue.

    kind regards,
    Kasia

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP 7 incompatibility’ is closed to new replies.