• Resolved bhenselmann

    (@bhenselmann)


    Hi!

    Thanks for the plugin!

    I’ve tested all my plugins with this PHP linter:
    https://wordpress.org/plugins/php-compatibility-checker/

    Unfortunately I found a problem with your plugin:

    FILE: …/plugins/enhanced-tooltipglossary/backend/views/admin_settings.php
    —————————————————————————————————————————
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 1 LINE
    —————————————————————————————————————————
    336 | WARNING | INI directive ‘safe_mode’ is deprecated from PHP 5.3 and forbidden from PHP 5.4.
    336 | WARNING | INI directive ‘safe_mode’ is deprecated from PHP 5.3 and forbidden from PHP 5.4.
    —————————————————————————————————————————

    FILE: …/plugins/enhanced-tooltipglossary/shared/cm-tooltip-glossary-shared.php
    ————————————————————————————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————————————————————————————-
    43 | WARNING | Method name “CMTooltipGlossaryShared::__showProMessage” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    ————————————————————————————————————————————————————————-

    FILE: …/plugins/enhanced-tooltipglossary/cm-tooltip-glossary.php
    ——————————————————————————————————————————————————————
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    ——————————————————————————————————————————————————————
    217 | WARNING | Method name “CMTooltipGlossary::__install” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    225 | WARNING | Method name “CMTooltipGlossary::__resetOptions” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    ——————————————————————————————————————————————————————

    FILE: …/plugins/enhanced-tooltipglossary/package/cminds-free.php
    ——————————————————————————————————————
    FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
    ——————————————————————————————————————
    2400 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    2404 | WARNING | INI directive ‘safe_mode’ is deprecated from PHP 5.3 and forbidden from PHP 5.4.
    ——————————————————————————————————————

    Would be great if you can fix this!

    All the best,
    Bernhard

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author CreativeMindsSolutions

    (@creativemindssolutions)

    Hi bhenselmann,

    Thank you for your message.
    We’ve taken it into account and fixed most of the warnings and the error.

    As for the ‘safe_mode’ – we’re only checking this value, as some of the users are still using the PHP 5.3 (or lower).

    Anyway I assume the biggest problem was with the error and that was fixed in the version 3.4.1 which will be released soon.

    Best,
    CM Plugins

    Thread Starter bhenselmann

    (@bhenselmann)

    great!
    Thanks!

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

The topic ‘compatibility with PHP 7?’ is closed to new replies.