After Product Protection Plan 3.8.4

Does After Product Protection Plan work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP fatal errors
11PHP warnings
34PHP notices
2Database errors
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 94.62 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/afterinc-app/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=afterinc-app%2FCustom_app.php&plugin_status=all&paged=1&s&_wpnonce=43c5f95397
Aspect after-activation
HTTP status 200
Load time 0.464 s
Memory usage 3.09 MiB
JS errors None
Resource errors None

After Plans

Page screenshot: After Plans
URL /wp-admin/admin.php?page=After+Plans
Requested URL /wp-admin/admin.php?page=After%20Plans
Aspect menu-item
HTTP status 200
Load time 0.237 s
Memory usage 3.12 MiB
JS errors None
Resource errors None

After Plans → Bulk Product Update

Page screenshot: After Plans → Bulk Product Update
URL /wp-admin/admin.php?page=Bulk-Product-Update
Aspect menu-item
HTTP status 200
Load time 0.485 s
Memory usage 3.08 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'toFixed')\n    at window.onload (/wp-content/plugins/afterinc-app/assets/js/afterinc-customer.js?ver=6.1.1:241:74)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.250 s
Memory usage 3.03 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.296 s0.281 s-0.015 s3.05 MiB3.15 MiB+ 104.72 KiB
/wp-admin/edit.php0.210 s0.215 s+0.005 s3.07 MiB3.18 MiB+ 105.16 KiB
/wp-admin/post-new.php0.802 s1.080 s+0.278 s4.97 MiB5.07 MiB+ 103.7 KiB
/wp-admin/upload.php0.658 s0.283 s-0.375 s2.99 MiB3.08 MiB+ 87.41 KiB
/wp-admin/options-writing.php0.164 s0.166 s+0.002 s2.99 MiB3.06 MiB+ 74.95 KiB
/wp-admin/media-new.php0.328 s0.261 s-0.067 s2.97 MiB3.07 MiB+ 99.86 KiB
/wp-admin/edit-tags.php?taxonomy=category0.183 s0.207 s+0.024 s2.98 MiB3.08 MiB+ 105.03 KiB
/wp-admin/post-new.php?post_type=page0.672 s0.793 s+0.121 s4.96 MiB5.05 MiB+ 95.29 KiB
/wp-admin/options-discussion.php0.219 s0.360 s+0.141 s2.97 MiB3.06 MiB+ 88.79 KiB
/wp-admin/edit-comments.php0.203 s0.254 s+0.051 s3 MiB3.09 MiB+ 86.76 KiB
/0.303 s0.250 s-0.053 s2.94 MiB3.03 MiB+ 89.1 KiB
Average 0.367 s0.377 s+0.010 s3.35 MiB3.45 MiB+ 94.62 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
JavaScript
CSS
Language % Lines of code Comment lines Files
PHP74.5%2,4371524
JavaScript16.3%532192
CSS9.2%30262
Total 3,271 177 8

PHP Code Analysis | More results »

Lines of code 2,135
Total complexity 354
Median class complexity 352.0
Median method complexity 2.0
Most complex class AfterInc
Most complex function AfterInc::action_woocommerce_update_product()
Classes 1
Methods 57
Functions 1

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Database Tables 7

Options wp_options 1

PHP Error Log 55 lines

[09-Feb-2023 12:16:32 UTC] WordPress database error Table 'wordpress.product_backup' doesn't exist for query SELECT wp_posts.* from wp_posts join product_backup on wp_posts.id = product_backup.product_id where wp_posts.post_modified !=product_backup.modified_date made by activate_plugin, do_action('activate_afterinc-app/Custom_app.php'), WP_Hook->do_action, WP_Hook->apply_filters, AfterInc->jal_install_data
[09-Feb-2023 12:16:32 UTC] WordPress database error Table 'wordpress.product_backup' doesn't exist for query TRUNCATE TABLE product_backup made by activate_plugin, do_action('activate_afterinc-app/Custom_app.php'), WP_Hook->do_action, WP_Hook->apply_filters, AfterInc->jal_install_data
[09-Feb-2023 12:16:32 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:32 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:33 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:33 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:33 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:33 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:33 UTC] PHP Warning:  Undefined variable $getTotal_batch in /wp-content/plugins/afterinc-app/form.php on line 161
[09-Feb-2023 12:16:33 UTC] PHP Warning:  Undefined variable $getSuccess_batch in /wp-content/plugins/afterinc-app/form.php on line 162
[09-Feb-2023 12:16:33 UTC] PHP Warning:  Undefined variable $getFailed_batch in /wp-content/plugins/afterinc-app/form.php on line 163
[09-Feb-2023 12:16:33 UTC] PHP Warning:  Undefined variable $get_Latestdate in /wp-content/plugins/afterinc-app/form.php on line 164
[09-Feb-2023 12:16:33 UTC] PHP Warning:  Undefined variable $getTotal_batch in /wp-content/plugins/afterinc-app/form.php on line 228
[09-Feb-2023 12:16:34 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:34 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:34 UTC] PHP Warning:  Attempt to read property "term_id" on array in /wp-content/plugins/afterinc-app/bulkUpdate.php on line 20
[09-Feb-2023 12:16:34 UTC] PHP Warning:  Attempt to read property "name" on array in /wp-content/plugins/afterinc-app/bulkUpdate.php on line 20
[09-Feb-2023 12:16:34 UTC] PHP Warning:  Attempt to read property "count" on array in /wp-content/plugins/afterinc-app/bulkUpdate.php on line 20
[09-Feb-2023 12:16:34 UTC] PHP Warning:  Attempt to read property "term_id" on array in /wp-content/plugins/afterinc-app/bulkUpdate.php on line 20
[09-Feb-2023 12:16:34 UTC] PHP Warning:  Attempt to read property "name" on array in /wp-content/plugins/afterinc-app/bulkUpdate.php on line 20
[09-Feb-2023 12:16:34 UTC] PHP Warning:  Attempt to read property "count" on array in /wp-content/plugins/afterinc-app/bulkUpdate.php on line 20
[09-Feb-2023 12:16:36 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:36 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:37 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:37 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:37 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:37 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:40 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:40 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:40 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:40 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:40 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:40 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:41 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:41 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:41 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:41 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:43 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:43 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:43 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:43 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:44 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:44 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:44 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:44 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:45 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:45 UTC] PHP Notice:  Function add_submenu_page was called <strong>incorrectly</strong>. The seventh parameter passed to <code>add_submenu_page()</code> should be numeric representing menu position. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 5835
[09-Feb-2023 12:16:45 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class AfterInc does not have a method "deactivate_table" in /wp-includes/class-wp-hook.php:308
Stack trace:
#0 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/includes/plugin.php(814): do_action()
#3 /wp-admin/plugins.php(209): deactivate_plugins()
#4 {main}
  thrown in /wp-includes/class-wp-hook.php on line 308
See also: All tests for this plugin, How to Hide After Product Protection Plan Admin Menus