wordpress-sdk icon indicating copy to clipboard operation
wordpress-sdk copied to clipboard

Undefined index notices after deleting plugin

Open coreyt808 opened this issue 6 years ago • 0 comments

🐞 bug report

Behavior:

  • What is the issue? (*) When two or more freemius plugins are installed on one WordPress site, deleting one of the freemius plugins causes the following PHP notices:

Notice: Undefined index: wp-cron-status-checker/freemius in /wordpress/wp-content/plugins/error-log-monitor/freemius/start.php on line 184

Notice: Trying to get property 'plugin_path' of non-object in /wordpress/wp-content/plugins/error-log-monitor/freemius/start.php on line 189

Notice: Undefined index: wp-cron-status-checker/freemius in /wordpress/wp-content/plugins/error-log-monitor/freemius/start.php on line 277

In this case I had wp-cron-status-checker and error-log-monitor plugins installed and activated. I deleted wp-cron-status-checker and the notices showed up.

  • What is the expected behavior? No notices

Versions: (*)

  • Freemius SDK Version: 2.3.0 for error-log-monitor, 2.3.1 for wp-cron-status-plugin
  • WordPress Version: 5.x
  • PHP Version: 7.x

Plugin / Theme: (*)

  • Name: WP-Cron Status Checker
  • Slug: wp-cron-status-checker
  • Freemius ID: 4604

Additional Information:

  • Browser Type: (*)
  • Browser Version: (*)
  • OS: (*)
  • Stack Traces:

Note: (*) indicates required information. Without this information, your issue may be auto-closed.

You can find your Freemius SDK version at /freemius/start.php

You can find your Freemius product ID in the Freemius dashboard: SETTINGS -> INTEGRATION.

Do not modify the titles or questions. Simply add your responses to the ends of the questions. Add more lines if needed.

coreyt808 avatar Nov 15 '19 00:11 coreyt808