In the error log of my MainWP Dashboard (4.1) I’m getting lots of errors, like:
PHP message: mainwp-activated-check is deprecated since version 4.1! Use mainwp_activated_check instead.
PHP message: mainwp-extension-enabled-check is deprecated since version 4.1! Use mainwp_extension_enabled_check instead.
PHP message: mainwp-extension-available-check is deprecated since version 4.1 with no alternative available.
Are these gonna be fixed in in coming (Extension) updates? The log is growing quite fast…
Hi Jos, yes, these are coming from extensions that are using deprecated hooks and fixes are coming very soon. In the meantime, please note that this doesn’t affect extensions functionality because there is fallback for the deprecated hooks.
I understand, it’s only that the logs grow fast. Am I correct if I say that I can replace the code “mainwp-activated-check” with “mainwp_activated_check”?
Only for the third line it says there is no alternative available…
Hi Jos, the ‘fix’ is quite simple, just replace mainwp-activated-check with mainwp_activated_check, however, I would recommend waiting and disabling the debug log temporarily.
@sagalian, that shouldn’t be related to this issue of deprecated errors, because it’s still working, only generating errors in the log. I think it’s better if you create your own post with al the information about your situation.
Some of your extensions are still out of date, can you please try to force them to check for updates and see if you can update those? These hooks are updated in all extensions, I just verified.
Activity Log is 3rd party extension, and mentions for the hook in:
I’ve checked for updates multiple times both on the WP updates screen and at the Plugins page, and have renewed all the licenses (API keys) yesterday, so I hope that’s not necessary again today. Are these updates already available for everyone or do you have multiple update servers, that haven’t been replicated yet?
i just installed all the extension updates and the error is still there. whats wrong?
Deprecated: mainwp-activated is deprecated since version 4.0.7.2! Use mainwp_activated instead. in /home/wpreport/public_html/wp-includes/functions.php on line 5148
Deprecated: mainwp-activated-check is deprecated since version 4.1! Use mainwp_activated_check instead. in /home/wpreport/public_html/wp-includes/functions.php on line 5148
Deprecated: mainwp-extension-enabled-check is deprecated since version 4.1! Use mainwp_extension_enabled_check instead. in /home/wpreport/public_html/wp-includes/functions.php on line 5148
Deprecated: mainwp-activated-check is deprecated since version 4.1! Use mainwp_activated_check instead. in /home/wpreport/public_html/wp-includes/functions.php on line 5148
Deprecated: mainwp-extension-enabled-check is deprecated since version 4.1! Use mainwp_extension_enabled_check instead. in /home/wpreport/public_html/wp-includes/functions.php on line 5148
Deprecated: mainwp-activated-check is deprecated since version 4.1! Use mainwp_activated_check instead. in /home/wpreport/public_html/wp-includes/functions.php on line 5148
Deprecated: mainwp-extension-enabled-check is deprecated since version 4.1! Use mainwp_extension_enabled_check instead. in /home/wpreport/public_html/wp-includes/functions.php on line 5148
Deprecated: mainwp-activated-check is deprecated since version 4.1! Use mainwp_activated_check instead. in /home/wpreport/public_html/wp-includes/functions.php on line 5148
Deprecated: mainwp-extension-enabled-check is deprecated since version 4.1! Use mainwp_extension_enabled_check instead. in /home/wpreport/public_html/wp-includes/functions.php on line 5148
Deprecated: mainwp-activated-check is deprecated since version 4.1! Use mainwp_activated_check instead. in /home/wpreport/public_html/wp-includes/functions.php on line 5148
Deprecated: mainwp-extension-enabled-check is deprecated since version 4.1! Use mainwp_extension_enabled_check instead. in /home/wpreport/public_html/wp-includes/functions.php on line 5148
Deprecated: mainwp-activated-check is deprecated since version 4.1! Use mainwp_activated_check instead. in /home/wpreport/public_html/wp-includes/functions.php on line 5148
Deprecated: mainwp-extension-enabled-check is deprecated since version 4.1! Use mainwp_extension_enabled_check instead. in /home/wpreport/public_html/wp-includes/functions.php on line 5148
Deprecated: mainwp-activated-check is deprecated since version 4.1! Use mainwp_activated_check instead. in /home/wpreport/public_html/wp-includes/functions.php on line 5148
Deprecated: mainwp-extension-enabled-check is deprecated since version 4.1! Use mainwp_extension_enabled_check instead. in /home/wpreport/public_html/wp-includes/functions.php on line 5148
Deprecated: mainwp-activated-check is deprecated since version 4.1! Use mainwp_activated_check instead. in /home/wpreport/public_html/wp-includes/functions.php on line 5148
Deprecated: mainwp-extension-enabled-check is deprecated since version 4.1! Use mainwp_extension_enabled_check instead. in /home/wpreport/public_html/wp-includes/functions.php on line 5148
Deprecated: mainwp-activated-check is deprecated since version 4.1! Use mainwp_activated_check instead. in /home/wpreport/public_html/wp-includes/functions.php on line 5148
Deprecated: mainwp-extension-enabled-check is deprecated since version 4.1! Use mainwp_extension_enabled_check instead. in /home/wpreport/public_html/wp-includes/functions.php on line 5148
Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/wpreport/public_html/wp-content/plugins/wpvivid-backup-mainwp/includes/customclass/class-wpvivid-s3.php on line 2479
Deprecated: mainwp-activated-check is deprecated since version 4.1! Use mainwp_activated_check instead. in /home/wpreport/public_html/wp-includes/functions.php on line 5148
Deprecated: mainwp-activated-check is deprecated since version 4.1! Use mainwp_activated_check instead. in /home/wpreport/public_html/wp-includes/functions.php on line 5148
Deprecated: mainwp-extension-enabled-check is deprecated since version 4.1! Use mainwp_extension_enabled_check instead. in /home/wpreport/public_html/wp-includes/functions.php on line 5148
Deprecated: mainwp-getsubpages-sites is deprecated since version 4.0.7.2! Use mainwp_getsubpages_sites instead. in /home/wpreport/public_html/wp-includes/functions.php on line 5148
Deprecated: mainwp-getsubpages-post is deprecated since version 4.0.7.2! Use mainwp_getsubpages_post instead. in /home/wpreport/public_html/wp-includes/functions.php on line 5148
Deprecated: mainwp-getsubpages-page is deprecated since version 4.0.7.2! Use mainwp_getsubpages_page instead. in /home/wpreport/public_html/wp-includes/functions.php on line 5148
Deprecated: mainwp-getextensions is deprecated since version 4.0.7.2! Use mainwp_getextensions instead. in /home/wpreport/public_html/wp-includes/functions.php on line 5148
Warning: Cannot modify header information - headers already sent by (output started at /home/wpreport/public_html/wp-includes/functions.php:5148) in /home/wpreport/public_html/wp-includes/functions.php on line 6270
Warning: Cannot modify header information - headers already sent by (output started at /home/wpreport/public_html/wp-includes/functions.php:5148) in /home/wpreport/public_html/wp-admin/includes/misc.php on line 1310
Warning: Cannot modify header information - headers already sent by (output started at /home/wpreport/public_html/wp-includes/functions.php:5148) in /home/wpreport/public_html/wp-admin/admin-header.php on line 9
I’m in the same boat. I thought it would be smarter to update the MainWP Dashboard BEFORE doing any of the plugin/extensions updates as it seemed logical… Bad Idea. Now I can’t even access my WordPress Dashboard let alone update any of the extensions or other plugins. and all the 165 plugin updates that showed on my 100+ sites. Aaargnh!
Any ideas anyone??
I looked for a copy of the last MainWP version but can’t seem to find it anywhere on MainWp.com… if someone can show me where to find that, at least I could get my WP Dashboard back by manually backdating to the last working version?
Here we are dealing with the Deprecated notices and once again, this problem should be resolved after updating all extensions to the latest versions that we released yesterday.
In case some of the extensions still don’t see available update, please reinstall your extensions. Reinstallation doesn’t affect your settings so your data won’t be lost.
@sagalian, please send me a temporary access to your MainWP Dashboard via private message if you still have this issue.
I’ve deactivated these extensions, activated them again, updated the licenses and checked for updates. Favorites and Page Speed have been updated now, the other 2 didn’t show up yet. The number of errors has decreased again a bit, but still some to go. I’ll try this trick again with the 2 last extensions.
The second run only Code Snippets was updated. For AUM there’s no “Check for updates now” link and it didn’t become available the third run, so I did a reinstall. Also for the UpdraftPlus extension, that was missing in the previous comment.
The only errors that was were left are from Activity Log for MainWP from @robertwsal, but I’ve fixed that code myself and hope he will release this fix as well soon for the other users.