• Resolved Andy Keith

    (@andykeith)


    Hi,

    I’m using v1.5.6 Premium. I’m getting the following showing the error logs with WP_DEBUG enabled:

    [11-Sep-2020 14:08:40 UTC] PHP Notice: Trying to get property ‘plugin_path’ of non-object in /www/barn2_342/public/wp-content/plugins/featured-images-for-rss-feeds-premium/includes/freemius/start.php on line 189
    [11-Sep-2020 14:08:40 UTC] PHP Notice: Undefined index: wp-security-audit-log/sdk/freemius in /www/barn2_342/public/wp-content/plugins/featured-images-for-rss-feeds-premium/includes/freemius/start.php on line 277

    Thanks in advance,

    Andy

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author 5 Star Plugins

    (@5starplugins)

    Hi @andykeith I will reach out to the Freemius SDK team about those PHP Notices, for now you can ignore any notices as they are not causing any issues with the site. Warnings would be looked at, and Fatal Errors would be cause for concern and immediate fixing.

    Thread Starter Andy Keith

    (@andykeith)

    Great, thanks for letting me know

    Plugin Author 5 Star Plugins

    (@5starplugins)

    Hi @andykeith we’ve released a new version 1.5.7 of the plugin that includes the latest version of the Freemius SDK. Perhaps this helps with the PHP Notices you were seeing in the logs.

    In addition, I’m sure you’re aware but it is also best practice for production sites with a lot of traffic to set WP_DEBUG to False, and/or turn off PHP Notice logging, there are many reasons a PHP notice could be generated, and notices do very often create very large log files.

    Logging only Errors is best, logging only Warnings and Errors second best.

    Thread Starter Andy Keith

    (@andykeith)

    Hi,

    Great, thanks for the update.

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