Support » Plugin: Trustpilot Reviews » PHP Notice on plugin page

  • Resolved Kallehauge

    (@kallehauge)


    Hi,

    The plugin is calling the settings_link method as a static method which grants a lot of noise in our error log. Would you be able to correct this?

    ( ! ) Deprecated: Non-static method Trustpilot\Review\Plugin::settings_link() should not be called statically in /var/www/html/wp-includes/class-wp-hook.php on line 288
    

    The filter that causes this issue can be found in line 111 in wc_trustpilot.php in version 2.5.610.1
    Either pass an instance of the class ([$class_instance, 'settings_link']) or convert the method to be static 🙂

    Best regards

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

    (@trustpilotapp)

    Hello Kallehauge,

    Thank you for your feedback.
    The problem has now been fixed. You can now update the plugin and this will not be occurring anymore.

    Trustpilot Team

    Thread Starter Kallehauge

    (@kallehauge)

    Awesome! Thank you for your fast response 🙂

    / Best regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Notice on plugin page’ is closed to new replies.