Does Photo Gallery work with WordPress 6.4.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: 500.05 KiB
The average PHP memory usage increased by this amount after activating by the plugin.
Page speed impact:
0.051 seconds
The average page load time increased by this amount after activating the plugin.
WordPress version | 6.4.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=e86b11a77a |
Aspect | after-activation |
HTTP status | 200 |
Load time | 0.584 s |
Memory usage | 3.99 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=galleries_bwg |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.514 s |
Memory usage | 4.76 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.442 s |
Memory usage | 4.1 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=cloudflare_bwg |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.312 s |
Memory usage | 3.83 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=albums_bwg |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.350 s |
Memory usage | 4.02 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.214 s |
Memory usage | 3.8 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=options_bwg |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 1.000 s |
Memory usage | 6.1 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=themes_bwg |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.323 s |
Memory usage | 5.56 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=addons_bwg |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.483 s |
Memory usage | 3.81 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.440 s |
Memory usage | 3.65 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/widgets.php |
---|---|
Aspect | new-sidebar-widgets |
HTTP status | 200 |
Load time | 3.156 s |
Memory usage | 5.97 MiB |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.410 s | 0.497 s | +0.087 s | 3.38 MiB | 3.89 MiB | + 525.08 KiB |
/wp-admin/edit.php | 0.246 s | 0.327 s | +0.081 s | 3.41 MiB | 4 MiB | + 602.14 KiB |
/wp-admin/post-new.php | 1.030 s | 1.058 s | +0.028 s | 5.46 MiB | 5.93 MiB | + 483.2 KiB |
/wp-admin/upload.php | 0.614 s | 0.322 s | -0.292 s | 3.32 MiB | 3.85 MiB | + 542.22 KiB |
/wp-admin/options-writing.php | 0.231 s | 0.231 s | +0.000 s | 3.32 MiB | 3.79 MiB | + 486.22 KiB |
/wp-admin/media-new.php | 0.344 s | 0.369 s | +0.025 s | 3.3 MiB | 3.78 MiB | + 497.5 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.202 s | 0.328 s | +0.126 s | 3.31 MiB | 3.83 MiB | + 530.16 KiB |
/wp-admin/post-new.php?post_type=page | 0.631 s | 1.025 s | +0.394 s | 5.45 MiB | 5.92 MiB | + 478.78 KiB |
/wp-admin/options-discussion.php | 0.246 s | 0.292 s | +0.046 s | 3.3 MiB | 3.79 MiB | + 496 KiB |
/wp-admin/edit-comments.php | 0.287 s | 0.282 s | -0.005 s | 3.34 MiB | 3.83 MiB | + 507.67 KiB |
/ | 0.317 s | 0.384 s | +0.067 s | 3.31 MiB | 3.65 MiB | + 351.55 KiB |
Average | 0.414 s | 0.465 s | +0.051 s | 3.72 MiB | 4.21 MiB | + 500.05 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.0% | 39,010 | 3,775 | 103 | |
JavaScript | 8.2% | 18,903 | 2,634 | 24 | |
CSS | 6.4% | 14,736 | 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 | 229,902 | 115,956 | 365 |
Lines of code | 39,119 |
---|---|
Total complexity | 6,092 |
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 | 679 |
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 |
[12-Feb-2024 12:28:26 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28: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 2187
[12-Feb-2024 12:28:26 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28: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 2187
[12-Feb-2024 12:28:27 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28: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 2187
[12-Feb-2024 12:28:27 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28: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 2187
[12-Feb-2024 12:28:28 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28: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 2187
[12-Feb-2024 12:28:28 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28: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 2187
[12-Feb-2024 12:28:29 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:29 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[12-Feb-2024 12:28:29 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:29 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[12-Feb-2024 12:28:30 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28: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 2187
[12-Feb-2024 12:28:30 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28: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 2187
[12-Feb-2024 12:28:31 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28: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 2187
[12-Feb-2024 12:28:31 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28: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 2187
[12-Feb-2024 12:28:32 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:32 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[12-Feb-2024 12:28:32 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:32 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[12-Feb-2024 12:28:33 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28: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 2187
[12-Feb-2024 12:28:33 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28: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 2187
[12-Feb-2024 12:28:35 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:35 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[12-Feb-2024 12:28:35 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:35 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[12-Feb-2024 12:28:36 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28: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 2187
[12-Feb-2024 12:28:36 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28: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 2187
[12-Feb-2024 12:28:38 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:38 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[12-Feb-2024 12:28:38 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:38 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[12-Feb-2024 12:28:39 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28: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 2187
[12-Feb-2024 12:28:39 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28: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 2187
[12-Feb-2024 12:28:39 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28: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 2187
[12-Feb-2024 12:28:39 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28: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 2187
[12-Feb-2024 12:28:43 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:43 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[12-Feb-2024 12:28:43 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:43 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[12-Feb-2024 12:28:43 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:43 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[12-Feb-2024 12:28:43 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:43 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[12-Feb-2024 12:28:43 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:43 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[12-Feb-2024 12:28:43 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:43 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[12-Feb-2024 12:28:44 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:44 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[12-Feb-2024 12:28:44 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:44 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[12-Feb-2024 12:28:44 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:44 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[12-Feb-2024 12:28:44 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:44 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[12-Feb-2024 12:28:47 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:47 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[12-Feb-2024 12:28:47 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:47 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[12-Feb-2024 12:28:48 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:48 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[12-Feb-2024 12:28:48 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:48 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[12-Feb-2024 12:28:48 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:48 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[12-Feb-2024 12:28:48 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:48 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[12-Feb-2024 12:28:49 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:49 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[12-Feb-2024 12:28:49 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:49 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[12-Feb-2024 12:28:49 UTC] PHP Notice: Function wp_enqueue_script() was called incorrectly. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 6031
[12-Feb-2024 12:28:56 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:56 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[12-Feb-2024 12:28:56 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[12-Feb-2024 12:28:56 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187