After Product Protection Plan 3.8.6

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=d132c7989a
Aspect after-activation
HTTP status 200
Load time 0.394 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.191 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.255 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:245: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.209 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.276 s0.236 s-0.040 s3.05 MiB3.15 MiB+ 104.72 KiB
/wp-admin/edit.php0.177 s0.196 s+0.019 s3.07 MiB3.18 MiB+ 105.16 KiB
/wp-admin/post-new.php0.729 s0.624 s-0.105 s4.97 MiB5.07 MiB+ 103.7 KiB
/wp-admin/upload.php0.657 s0.437 s-0.220 s2.99 MiB3.08 MiB+ 87.41 KiB
/wp-admin/options-writing.php0.176 s0.160 s-0.016 s2.99 MiB3.06 MiB+ 74.95 KiB
/wp-admin/media-new.php0.257 s0.255 s-0.002 s2.97 MiB3.07 MiB+ 99.86 KiB
/wp-admin/edit-tags.php?taxonomy=category0.171 s0.201 s+0.030 s2.98 MiB3.08 MiB+ 105.03 KiB
/wp-admin/post-new.php?post_type=page0.612 s0.575 s-0.037 s4.96 MiB5.05 MiB+ 95.29 KiB
/wp-admin/options-discussion.php0.189 s0.204 s+0.015 s2.97 MiB3.06 MiB+ 88.79 KiB
/wp-admin/edit-comments.php0.196 s0.194 s-0.002 s3 MiB3.09 MiB+ 86.76 KiB
/0.297 s0.201 s-0.096 s2.94 MiB3.03 MiB+ 89.1 KiB
Average 0.340 s0.298 s-0.041 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.6%2,4521514
JavaScript16.3%535192
CSS9.2%30262
Total 3,289 176 8

PHP Code Analysis | More results »

Lines of code 2,150
Total complexity 362
Median class complexity 360.0
Median method complexity 2.0
Most complex class AfterInc
Most complex function AfterInc::action_woocommerce_update_product()
Classes 1
Methods 58
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

[15-Feb-2023 12:33:43 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
[15-Feb-2023 12:33:43 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
[15-Feb-2023 12:33: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
[15-Feb-2023 12:33: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
[15-Feb-2023 12:33: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
[15-Feb-2023 12:33: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
[15-Feb-2023 12:33: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
[15-Feb-2023 12:33: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
[15-Feb-2023 12:33:44 UTC] PHP Warning:  Undefined variable $getTotal_batch in /wp-content/plugins/afterinc-app/form.php on line 161
[15-Feb-2023 12:33:44 UTC] PHP Warning:  Undefined variable $getSuccess_batch in /wp-content/plugins/afterinc-app/form.php on line 162
[15-Feb-2023 12:33:44 UTC] PHP Warning:  Undefined variable $getFailed_batch in /wp-content/plugins/afterinc-app/form.php on line 163
[15-Feb-2023 12:33:44 UTC] PHP Warning:  Undefined variable $get_Latestdate in /wp-content/plugins/afterinc-app/form.php on line 164
[15-Feb-2023 12:33:44 UTC] PHP Warning:  Undefined variable $getTotal_batch in /wp-content/plugins/afterinc-app/form.php on line 228
[15-Feb-2023 12:33: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
[15-Feb-2023 12:33: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
[15-Feb-2023 12:33:45 UTC] PHP Warning:  Attempt to read property "term_id" on array in /wp-content/plugins/afterinc-app/bulkUpdate.php on line 20
[15-Feb-2023 12:33:45 UTC] PHP Warning:  Attempt to read property "name" on array in /wp-content/plugins/afterinc-app/bulkUpdate.php on line 20
[15-Feb-2023 12:33:45 UTC] PHP Warning:  Attempt to read property "count" on array in /wp-content/plugins/afterinc-app/bulkUpdate.php on line 20
[15-Feb-2023 12:33:45 UTC] PHP Warning:  Attempt to read property "term_id" on array in /wp-content/plugins/afterinc-app/bulkUpdate.php on line 20
[15-Feb-2023 12:33:45 UTC] PHP Warning:  Attempt to read property "name" on array in /wp-content/plugins/afterinc-app/bulkUpdate.php on line 20
[15-Feb-2023 12:33:45 UTC] PHP Warning:  Attempt to read property "count" on array in /wp-content/plugins/afterinc-app/bulkUpdate.php on line 20
[15-Feb-2023 12:33:47 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
[15-Feb-2023 12:33:47 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
[15-Feb-2023 12:33:47 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
[15-Feb-2023 12:33:47 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
[15-Feb-2023 12:33:47 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
[15-Feb-2023 12:33:47 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
[15-Feb-2023 12:33:50 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
[15-Feb-2023 12:33:50 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
[15-Feb-2023 12:33:50 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
[15-Feb-2023 12:33:50 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
[15-Feb-2023 12:33:50 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
[15-Feb-2023 12:33:50 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
[15-Feb-2023 12:33:51 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
[15-Feb-2023 12:33:51 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
[15-Feb-2023 12:33:51 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
[15-Feb-2023 12:33:51 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
[15-Feb-2023 12:33:53 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
[15-Feb-2023 12:33:53 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
[15-Feb-2023 12:33:53 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
[15-Feb-2023 12:33:53 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
[15-Feb-2023 12:33:53 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
[15-Feb-2023 12:33:53 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
[15-Feb-2023 12:33:54 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
[15-Feb-2023 12:33:54 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
[15-Feb-2023 12:33:54 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
[15-Feb-2023 12:33:54 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
[15-Feb-2023 12:33:54 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