Food Truck Locator 1.1.0

Does Food Truck Locator work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
14PHP warnings
1PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 25.85 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.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 20+
WordPress.org page https://wordpress.org/plugins/food-truck-locator/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=food-truck-locator%2Ffoodtrucklocator.php&plugin_status=all&paged=1&s&_wpnonce=2e2bad5556
Aspect after-activation
HTTP status 200
Load time 0.322 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

Food Truck Locator

Page screenshot: Food Truck Locator
URL /wp-admin/admin.php?page=foodtrucklocator-list
Aspect menu-item
HTTP status 200
Load time 0.208 s
Memory usage 3.52 MiB
JS errors None
Resource errors None

Food Truck Locator → Add a location

Page screenshot: Food Truck Locator → Add a location
URL /wp-admin/admin.php?page=foodtrucklocator-edit
Aspect menu-item
HTTP status 200
Load time 0.328 s
Memory usage 3.52 MiB
JS errors None
Resource errors None

Food Truck Locator → Settings

Page screenshot: Food Truck Locator → Settings
URL /wp-admin/admin.php?page=foodtrucklocator-settings
Aspect menu-item
HTTP status 200
Load time 0.172 s
Memory usage 3.52 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.204 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.470 s0.305 s-0.165 s3.51 MiB3.54 MiB+ 33.58 KiB
/wp-admin/edit.php0.206 s0.185 s-0.021 s3.57 MiB3.6 MiB+ 33.55 KiB
/wp-admin/post-new.php0.798 s0.658 s-0.140 s6.06 MiB6.1 MiB+ 37.15 KiB
/wp-admin/upload.php0.591 s0.512 s-0.079 s3.52 MiB3.54 MiB+ 16.15 KiB
/wp-admin/options-writing.php0.228 s0.228 s+0.000 s3.5 MiB3.52 MiB+ 20.14 KiB
/wp-admin/media-new.php0.345 s0.264 s-0.081 s3.49 MiB3.52 MiB+ 28.34 KiB
/wp-admin/edit-tags.php?taxonomy=category0.216 s0.188 s-0.028 s3.5 MiB3.54 MiB+ 39.01 KiB
/wp-admin/post-new.php?post_type=page0.619 s0.615 s-0.004 s6.05 MiB6.08 MiB+ 32.67 KiB
/wp-admin/options-discussion.php0.443 s0.259 s-0.184 s3.5 MiB3.52 MiB+ 16.64 KiB
/wp-admin/edit-comments.php0.262 s0.439 s+0.177 s3.52 MiB3.54 MiB+ 16.14 KiB
/0.311 s0.230 s-0.081 s3.43 MiB3.44 MiB+ 10.96 KiB
Average 0.408 s0.353 s-0.055 s3.97 MiB4 MiB+ 25.85 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
JavaScript
PO File
Language % Lines of code Comment lines Files
PHP41.5%9038610
CSS32.1%700272
JavaScript13.4%291142
PO File13.0%2841162
Total 2,178 243 16

PHP Code Analysis | More results »

Lines of code 485
Total complexity 77
Median class complexity 22.0
Median method complexity 1.0
Most complex class FoodTruckLocator
Most complex function FoodTruckLocator::ajaxSaveLocation()
Classes 3
Methods 40
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 2

Options wp_options 1

PHP Error Log 15 lines

[08-May-2025 10:43:15 UTC] PHP Warning:  Undefined array key "orderby" in /wp-content/plugins/food-truck-locator/includes/LocationsListTable.php on line 28
[08-May-2025 10:43:15 UTC] PHP Warning:  Undefined array key "order" in /wp-content/plugins/food-truck-locator/includes/LocationsListTable.php on line 28
[08-May-2025 10:43:15 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6121
[08-May-2025 10:43:16 UTC] PHP Warning:  Undefined array key "locationId" in /wp-content/plugins/food-truck-locator/views/edit.php on line 13
[08-May-2025 10:43:16 UTC] PHP Warning:  Undefined property: stdClass::$name in /wp-content/plugins/food-truck-locator/views/edit.php on line 48
[08-May-2025 10:43:16 UTC] PHP Warning:  Undefined property: stdClass::$id in /wp-content/plugins/food-truck-locator/views/edit.php on line 49
[08-May-2025 10:43:16 UTC] PHP Warning:  Undefined property: stdClass::$description in /wp-content/plugins/food-truck-locator/views/edit.php on line 57
[08-May-2025 10:43:16 UTC] PHP Warning:  Undefined property: stdClass::$latitude in /wp-content/plugins/food-truck-locator/views/edit.php on line 66
[08-May-2025 10:43:16 UTC] PHP Warning:  Undefined property: stdClass::$longitude in /wp-content/plugins/food-truck-locator/views/edit.php on line 67
[08-May-2025 10:43:16 UTC] PHP Warning:  Undefined property: stdClass::$visible in /wp-content/plugins/food-truck-locator/views/edit.php on line 83
[08-May-2025 10:43:16 UTC] PHP Warning:  Undefined property: stdClass::$id in /wp-content/plugins/food-truck-locator/views/edit.php on line 83
[08-May-2025 10:43:17 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/food-truck-locator/includes/settings-general-section.php on line 12
[08-May-2025 10:43:17 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/food-truck-locator/includes/settings-general-section.php on line 19
[08-May-2025 10:43:17 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/food-truck-locator/includes/settings-general-section.php on line 28
[08-May-2025 10:43:17 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/food-truck-locator/includes/settings-general-section.php on line 36
See also: All tests for this plugin, How to Hide Food Truck Locator Admin Menus