Similar Posts AI (SPAI) 1.1.6

Does Similar Posts AI (SPAI) work with WordPress 5.8.2 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
2PHP warnings
67PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

Page speed impact: 0.072 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version5.8.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/similar-posts-ai-spai/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=similar-posts-ai-spai%2Fspai.php&plugin_status=all&paged=1&s&_wpnonce=65bfec1382
Aspect after-activation
HTTP status 200
Load time 1.207 s
Memory usage 3.11 MiB
JS errors None
Resource errors None

Settings → Similar Posts AI

Page screenshot: Settings → Similar Posts AI
URL /wp-admin/options-general.php?page=spai
Aspect menu-item
HTTP status 200
Load time 0.761 s
Memory usage 3.13 MiB
JS errors None
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.952 s
Memory usage 3.05 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.339 s0.307 s-0.032 s3.08 MiB3.16 MiB+ 75.39 KiB
/wp-admin/edit.php0.179 s0.195 s+0.016 s3.11 MiB3.25 MiB+ 140.49 KiB
/wp-admin/post-new.php0.801 s1.014 s+0.213 s5.27 MiB5.34 MiB+ 77.08 KiB
/wp-admin/upload.php0.437 s0.324 s-0.113 s3.03 MiB3.09 MiB+ 66.86 KiB
/wp-admin/options-writing.php0.243 s0.146 s-0.097 s3.02 MiB3.07 MiB+ 50.21 KiB
/wp-admin/media-new.php0.338 s0.204 s-0.134 s3.01 MiB3.07 MiB+ 67.03 KiB
/wp-admin/edit-tags.php?taxonomy=category0.179 s0.188 s+0.009 s3.04 MiB3.11 MiB+ 75.94 KiB
/wp-admin/post-new.php?post_type=page0.720 s0.892 s+0.172 s5.26 MiB5.33 MiB+ 72.66 KiB
/wp-admin/options-discussion.php0.241 s0.278 s+0.037 s3 MiB3.07 MiB+ 66.72 KiB
/wp-admin/edit-comments.php0.219 s0.211 s-0.008 s3.04 MiB3.11 MiB+ 74.24 KiB
/0.270 s1.003 s+0.733 s2.96 MiB3.05 MiB+ 99.34 KiB
Average 0.361 s0.433 s+0.072 s3.44 MiB3.52 MiB+ 78.72 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
CSS
PO File
Language % Lines of code Comment lines Files
PHP67.2%84061719
CSS16.7%209103
PO File12.5%15662
JavaScript3.6%45552
Total 1,250 688 26

PHP Code Analysis | More results »

Lines of code 631
Total complexity 117
Median class complexity 7.0
Median method complexity 1.0
Most complex class Spai_Admin
Most complex function Spai_Public::checkSpaiPostsDataSync()
Classes 9
Methods 50
Functions 3

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 1

Options wp_options 1

PHP Error Log 69 lines

[19-Nov-2021 02:34:40 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 232
[19-Nov-2021 02:34:40 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 59
[19-Nov-2021 02:34:41 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 232
[19-Nov-2021 02:34:41 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 59
[19-Nov-2021 02:34:42 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 232
[19-Nov-2021 02:34:42 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 59
[19-Nov-2021 02:34:42 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 232
[19-Nov-2021 02:34:42 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 59
[19-Nov-2021 02:34:42 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 158
[19-Nov-2021 02:34:43 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 232
[19-Nov-2021 02:34:43 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 59
[19-Nov-2021 02:34:44 UTC] PHP Warning:  json_decode() expects parameter 1 to be string, object given in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 177
[19-Nov-2021 02:34:44 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 232
[19-Nov-2021 02:34:44 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 59
[19-Nov-2021 02:34:45 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 232
[19-Nov-2021 02:34:45 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 59
[19-Nov-2021 02:34:45 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 232
[19-Nov-2021 02:34:45 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 59
[19-Nov-2021 02:34:45 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 232
[19-Nov-2021 02:34:45 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 59
[19-Nov-2021 02:34:46 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 232
[19-Nov-2021 02:34:46 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 59
[19-Nov-2021 02:34:46 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 232
[19-Nov-2021 02:34:46 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 59
[19-Nov-2021 02:34:47 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 232
[19-Nov-2021 02:34:47 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 59
[19-Nov-2021 02:34:47 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 232
[19-Nov-2021 02:34:47 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 59
[19-Nov-2021 02:34:47 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 232
[19-Nov-2021 02:34:47 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 59
[19-Nov-2021 02:34:47 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 232
[19-Nov-2021 02:34:47 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 59
[19-Nov-2021 02:34:47 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 232
[19-Nov-2021 02:34:47 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 59
[19-Nov-2021 02:34:47 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 232
[19-Nov-2021 02:34:47 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 59
[19-Nov-2021 02:34:47 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 232
[19-Nov-2021 02:34:47 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 59
[19-Nov-2021 02:34:48 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 232
[19-Nov-2021 02:34:48 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 59
[19-Nov-2021 02:34:48 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 232
[19-Nov-2021 02:34:48 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 59
[19-Nov-2021 02:34:48 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 232
[19-Nov-2021 02:34:48 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 59
[19-Nov-2021 02:34:49 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 232
[19-Nov-2021 02:34:49 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 59
[19-Nov-2021 02:34:49 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 232
[19-Nov-2021 02:34:49 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 59
[19-Nov-2021 02:34:49 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 232
[19-Nov-2021 02:34:49 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 59
[19-Nov-2021 02:34:49 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 232
[19-Nov-2021 02:34:49 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 59
[19-Nov-2021 02:34:49 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 232
[19-Nov-2021 02:34:49 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 59
[19-Nov-2021 02:34:50 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 232
[19-Nov-2021 02:34:50 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 59
[19-Nov-2021 02:34:50 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 232
[19-Nov-2021 02:34:50 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 59
[19-Nov-2021 02:34:50 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 232
[19-Nov-2021 02:34:50 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 59
[19-Nov-2021 02:34:50 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 232
[19-Nov-2021 02:34:50 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 59
[19-Nov-2021 02:34:51 UTC] PHP Warning:  json_decode() expects parameter 1 to be string, object given in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 177
[19-Nov-2021 02:34:51 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 232
[19-Nov-2021 02:34:51 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 59
[19-Nov-2021 02:34:52 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 232
[19-Nov-2021 02:34:52 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 59
[19-Nov-2021 02:34:52 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/admin/class-spai-admin.php on line 232
[19-Nov-2021 02:34:52 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/similar-posts-ai-spai/public/class-spai-public.php on line 59
See also: All tests for this plugin, How to Hide the "Similar Posts AI" Admin Menu