Does Photo Gallery work with WordPress 6.3 and PHP 8.1.12? A smoke test was performed on .
1 | PHP notices |
92 | PHP deprecation warnings |
No JavaScript exceptions | |
All test pages loaded successfully | |
No resource errors |
Memory usage: 473.96 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.
WordPress version | 6.3 |
---|---|
PHP version | 8.1.12 |
MySQL version | 10.6.10 |
PHP memory limit | 512M |
Last updated | |
---|---|
Active installs | 200,000+ |
WordPress.org page | https://wordpress.org/plugins/photo-gallery/ |
Badges |
Get badge code |
URL | /wp-admin/plugins.php?plugin_status=all&paged=1&s |
---|---|
Requested URL | /wp-admin/plugins.php?action=activate&plugin=photo-gallery%2Fphoto-gallery.php&plugin_status=all&paged=1&s&_wpnonce=23589de191 |
Aspect | after-activation |
HTTP status | 200 |
Load time | 0.736 s |
Memory usage | 3.35 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=galleries_bwg |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.426 s |
Memory usage | 4.18 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=twbbwg_photo-gallery |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.367 s |
Memory usage | 3.53 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=cloudflare_bwg |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.259 s |
Memory usage | 3.25 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=albums_bwg |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.275 s |
Memory usage | 3.45 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/edit-tags.php?taxonomy=bwg_tag |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.178 s |
Memory usage | 3.22 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=options_bwg |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.813 s |
Memory usage | 5.56 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=themes_bwg |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.286 s |
Memory usage | 4.98 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=addons_bwg |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.260 s |
Memory usage | 3.23 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.359 s |
Memory usage | 3.46 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/widgets.php |
---|---|
Aspect | new-sidebar-widgets |
HTTP status | 200 |
Load time | 2.535 s |
Memory usage | 5.7 MiB |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.314 s | 0.317 s | +0.003 s | 2.82 MiB | 3.31 MiB | + 501.84 KiB |
/wp-admin/edit.php | 0.186 s | 0.246 s | +0.060 s | 2.85 MiB | 3.35 MiB | + 517.41 KiB |
/wp-admin/post-new.php | 0.698 s | 0.847 s | +0.149 s | 5.21 MiB | 5.68 MiB | + 480.01 KiB |
/wp-admin/upload.php | 0.506 s | 0.377 s | -0.129 s | 2.77 MiB | 3.28 MiB | + 519.44 KiB |
/wp-admin/options-writing.php | 0.212 s | 0.196 s | -0.016 s | 2.76 MiB | 3.21 MiB | + 462.61 KiB |
/wp-admin/media-new.php | 0.277 s | 0.162 s | -0.115 s | 2.74 MiB | 3.2 MiB | + 473.89 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.178 s | 0.176 s | -0.002 s | 2.76 MiB | 3.23 MiB | + 487.18 KiB |
/wp-admin/post-new.php?post_type=page | 0.556 s | 0.533 s | -0.023 s | 5.21 MiB | 5.67 MiB | + 475.59 KiB |
/wp-admin/options-discussion.php | 0.207 s | 0.235 s | +0.028 s | 2.75 MiB | 3.21 MiB | + 472.39 KiB |
/wp-admin/edit-comments.php | 0.190 s | 0.213 s | +0.023 s | 2.78 MiB | 3.25 MiB | + 484.06 KiB |
/ | 0.261 s | 0.320 s | +0.059 s | 3.13 MiB | 3.46 MiB | + 339.18 KiB |
Average | 0.326 s | 0.329 s | +0.003 s | 3.25 MiB | 3.72 MiB | + 473.96 KiB |
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.
Language | % | Lines of code | Comment lines | Files | |
---|---|---|---|---|---|
PO File | 67.1% | 154,369 | 109,281 | 51 | |
PHP | 17.1% | 39,291 | 3,793 | 103 | |
JavaScript | 8.2% | 18,897 | 2,634 | 24 | |
CSS | 6.4% | 14,737 | 264 | 27 | |
SVG | 0.7% | 1,711 | 2 | 153 | |
Sass | 0.5% | 1,049 | 0 | 1 | |
Markdown | 0.0% | 93 | 0 | 1 | |
HTML | 0.0% | 24 | 0 | 3 | |
JSON | 0.0% | 5 | 0 | 1 | |
INI | 0.0% | 2 | 0 | 1 | |
Total | 230,178 | 115,974 | 365 |
Lines of code | 39,400 |
---|---|
Total complexity | 6,137 |
Median class complexity | 28.0 |
Median method complexity | 3.0 |
Most complex class | OptionsView_bwg |
Most complex function | ThemesView_bwg::edit_body() |
Classes | 95 |
---|---|
Methods | 684 |
Functions | 10 |
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.
wp_options
6wp_usermeta
1ID | Name |
---|---|
bwg_gallery | Galleries |
bwg_album | Albums |
bwg_tag | Gallery tags |
bwg_share | Gallery Share |
ID | Name |
---|---|
bwp_gallery | Photo Gallery Widget |
bwp_gallery_slideshow | Photo Gallery Slideshow |
[09-Aug-2023 04:41:22 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:22 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:22 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:22 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:23 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:23 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:23 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:23 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:23 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:23 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:23 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:23 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:24 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:24 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:24 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:24 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:25 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:25 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:25 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:25 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:26 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:26 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:26 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:26 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:27 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:27 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:27 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:27 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:28 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:28 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:28 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:28 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:30 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:30 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:30 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:30 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:31 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:31 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:31 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:31 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:33 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:33 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:33 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:33 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:33 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:33 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:33 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:33 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:33 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:33 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:33 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:33 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:36 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:36 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:36 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:36 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:36 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:36 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:36 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:36 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:36 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:36 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:36 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:36 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:37 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:37 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:37 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:37 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:37 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:37 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:37 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:37 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:39 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:39 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:39 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:39 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:39 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:39 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:39 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:39 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:40 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:40 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:40 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:40 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:40 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:40 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:40 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:40 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:40 UTC] PHP Notice: Function wp_enqueue_script() was called <strong>incorrectly</strong>. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 5905
[09-Aug-2023 04:41:46 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:46 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182
[09-Aug-2023 04:41:46 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7127
[09-Aug-2023 04:41:46 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2182