• Resolved remedy17

    (@remedy17)


    Hey Dear MyCred folks, when would you make MyCred plugin compatible with PHP 7? Out of many plugins I have only myCred failed the test conducted by SiteGround plugin SG CachePress plugin. I can’t upgrade and take advantage of php 7.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter remedy17

    (@remedy17)

    Forgot to add the output — here it is:

    “The following plugins/themes are not compatible with PHP 7.0. myCRED
    FILE: /home/…./public_html/wp-content/plugins/mycred/assets/libs/parsecsv.lib.php
    —————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    —————————————————–
    111 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ——————————————————

    Just an FYI, I am running myCred with PHP7: PHP Version 7.0.15-0ubuntu0.16.04.4 and I am having no issues whatsoever.

    Plugin Author myCred

    (@designbymerovingi)

    The above mentioned warning will only affect you when you are using the CSV library (export). Even though this is just a warning and should still work, I will fixing it in the next update.

    Also please fix this Warnimg issue:

    PHP Warning: A non-numeric value encountered
    wp-content/plugins/mycred/modules/mycred-module-hooks.php on line 2771

    This:
    'default_interval' => abs( $this->prefs['interval']*1000 ),

    Should be like this:
    'default_interval' => abs( intval($this->prefs['interval'])*1000 ),

    Everytimes update, I always edit this manual.
    Please include those fix.
    Thank You.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘MyCred not compatible with PHP 7’ is closed to new replies.