• Resolved wpsmartapps

    (@wpsmartapps)


    Using your plugin and there is an issue

    Please change “$CategoryImage = new static;” TO “$CategoryImage = new self;” because if you place the static it will generate below error

    Parse error: syntax error, unexpected T_STATIC, expecting T_STRING or T_VARIABLE or ‘$’ i.e plugin is not compatible with above php version 5.6.3

    You can find line number 32 WPCustomCategoryImage.php

    Thanks

    https://www.ads-software.com/plugins/wpcustom-category-image/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter wpsmartapps

    (@wpsmartapps)

    On further note: We are using your plugin on the more then 500 sites that has different servers and your plugin update hit all our sites with the error.

    Finally got all sites fixed and it took us nearly 4 hours by team of two.

    Really hard time ??

    Plugin Author E.

    (@pyro3x)

    Hi,

    I don’t think thats a problem with PHP 5.6+ .
    Can you provider more info about your PHP Version? Are you sure you are using PHP 5.6?

    Here is the PHP Documentation for that:
    https://php.net/manual/en/language.oop5.late-static-bindings.php

    And here is an example with “the same code”: https://3v4l.org/rWbSB#v510 (look at the PHP version).

    That line was never changed (since version 1.0.0).

    Plugin Author E.

    (@pyro3x)

    wpsmartapps,

    I made this change to avoid appearing more mistakes like that.

    You are not using PHP 5.6 (or +).

    Please update WP Custom Category Image.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Immediate Action Required’ is closed to new replies.