WP Legal Pages 3.4.2

Does WP Legal Pages work with WordPress 6.8.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
28PHP notices
2Database errors
3JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 262.09 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.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 10,000+
WordPress.org page https://wordpress.org/plugins/wplegalpages/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

WPLegalPages ‹ Test site — WordPress

Page screenshot: WPLegalPages ‹ Test site — WordPress
URL /wp-admin/admin.php?page=legal-pages
Requested URL /wp-admin/plugins.php?action=activate&plugin=wplegalpages%2Fwplegalpages.php&plugin_status=all&paged=1&s&_wpnonce=611b406964
Aspect after-activation
HTTP status 200
Load time 3.500 s
Memory usage 3.82 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'style')\n    at HTMLDocument.<anonymous> (/wp-admin/admin.php?page=legal-pages:322:26)",
        "trace": null,
        "code": null
    }
]
Resource errors None

WP Legal Pages

Page screenshot: WP Legal Pages
URL /wp-admin/admin.php?page=wplp-dashboard
Aspect menu-item
HTTP status 200
Load time 1.200 s
Memory usage 3.77 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'style')\n    at updateTopBasedOnTab (/wp-content/plugins/wplegalpages/admin/js/wp-legalpages-admin-revamp.js?ver=1:635:22)\n    at HTMLDocument.alignSideBar (/wp-content/plugins/wplegalpages/admin/js/wp-legalpages-admin-revamp.js?ver=1:640:5)",
        "trace": null,
        "code": null
    }
]
Resource errors None

WP Legal Pages → Legal Pages

Page screenshot: WP Legal Pages → Legal Pages
URL /wp-admin/admin.php?page=legal-pages
Aspect menu-item
HTTP status 200
Load time 2.138 s
Memory usage 3.8 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'style')\n    at HTMLDocument.<anonymous> (/wp-admin/admin.php?page=legal-pages:322:26)",
        "trace": null,
        "code": null
    }
]
Resource errors None

WP Legal Pages → Cookie Consent

Page screenshot: WP Legal Pages → Cookie Consent
URL /wp-admin/admin.php?page=gdpr-cookie-consent
Aspect menu-item
HTTP status 200
Load time 0.378 s
Memory usage 3.74 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.259 s
Memory usage 3.58 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 1.498 s
Memory usage 6.1 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.364 s0.302 s-0.062 s3.51 MiB3.76 MiB+ 257.83 KiB
/wp-admin/edit.php0.212 s0.250 s+0.038 s3.57 MiB3.82 MiB+ 255.78 KiB
/wp-admin/post-new.php0.838 s1.104 s+0.266 s6.06 MiB6.46 MiB+ 410.77 KiB
/wp-admin/upload.php0.778 s0.535 s-0.243 s3.52 MiB3.76 MiB+ 239 KiB
/wp-admin/options-writing.php0.249 s0.232 s-0.017 s3.5 MiB3.74 MiB+ 242.37 KiB
/wp-admin/media-new.php0.283 s0.258 s-0.025 s3.49 MiB3.74 MiB+ 250.56 KiB
/wp-admin/edit-tags.php?taxonomy=category0.204 s0.196 s-0.008 s3.5 MiB3.76 MiB+ 261.23 KiB
/wp-admin/post-new.php?post_type=page0.756 s0.661 s-0.095 s6.05 MiB6.38 MiB+ 342.29 KiB
/wp-admin/options-discussion.php0.489 s0.296 s-0.193 s3.5 MiB3.74 MiB+ 238.87 KiB
/wp-admin/edit-comments.php0.230 s0.373 s+0.143 s3.52 MiB3.76 MiB+ 238.37 KiB
/0.320 s0.291 s-0.029 s3.43 MiB3.58 MiB+ 145.88 KiB
Average 0.429 s0.409 s-0.020 s3.97 MiB4.23 MiB+ 262.09 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.

JavaScript
PHP
CSS
Language % Lines of code Comment lines Files
JavaScript42.6%15,7842,03228
PHP33.2%12,2972,27635
CSS15.8%5,8467615
JSON5.1%1,87301
SVG2.4%876072
PO File1.0%3711911
XML0.0%1801
Total 37,065 4,575 153

PHP Code Analysis | More results »

Lines of code 8,791
Total complexity 1,819
Median class complexity 15.0
Median method complexity 3.0
Most complex class WP_Legal_Pages_Admin
Most complex function WP_Legal_Pages_Admin::wplegalpages_page_sections_save()
Classes 15
Methods 213
Functions 7

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 23

Sidebar Widgets 1

ID Name
legal_pagesWPLegalPages

PHP Error Log 30 lines

[31-Jul-2025 06:00:11 UTC] PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>wplegalpages</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. 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 6.7.0.) in /wp-includes/functions.php on line 6121
[31-Jul-2025 06:00:11 UTC] PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>wplegalpages</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. 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 6.7.0.) in /wp-includes/functions.php on line 6121
[31-Jul-2025 06:00:11 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') AND post_type = 'page' AND post_status != 'trash'' at line 1 for query SELECT ID, post_title, post_content FROM wp_posts WHERE ID IN () AND post_type = 'page' AND post_status != 'trash' made by do_action('wp-legal-pages_page_legal-pages'), WP_Hook->do_action, WP_Hook->apply_filters, WP_Legal_Pages_Admin->wp_legalpages_new_admin_screen, include_once('/plugins/wplegalpages/admin/partials/wp-legal-pages-main-screen.php'), require_once('/plugins/wplegalpages/admin/partials/wp-legal-pages-create-popups-template.php')
[31-Jul-2025 06:00:12 UTC] PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>wplegalpages</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. 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 6.7.0.) in /wp-includes/functions.php on line 6121
[31-Jul-2025 06:00:15 UTC] PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>wplegalpages</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. 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 6.7.0.) in /wp-includes/functions.php on line 6121
[31-Jul-2025 06:00:16 UTC] PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>wplegalpages</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. 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 6.7.0.) in /wp-includes/functions.php on line 6121
[31-Jul-2025 06:00:16 UTC] PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>wplegalpages</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. 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 6.7.0.) in /wp-includes/functions.php on line 6121
[31-Jul-2025 06:00:19 UTC] PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>wplegalpages</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. 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 6.7.0.) in /wp-includes/functions.php on line 6121
[31-Jul-2025 06:00:19 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') AND post_type = 'page' AND post_status != 'trash'' at line 1 for query SELECT ID, post_title, post_content FROM wp_posts WHERE ID IN () AND post_type = 'page' AND post_status != 'trash' made by do_action('wp-legal-pages_page_legal-pages'), WP_Hook->do_action, WP_Hook->apply_filters, WP_Legal_Pages_Admin->wp_legalpages_new_admin_screen, include_once('/plugins/wplegalpages/admin/partials/wp-legal-pages-main-screen.php'), require_once('/plugins/wplegalpages/admin/partials/wp-legal-pages-create-popups-template.php')
[31-Jul-2025 06:00:19 UTC] PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>wplegalpages</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. 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 6.7.0.) in /wp-includes/functions.php on line 6121
[31-Jul-2025 06:00:22 UTC] PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>wplegalpages</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. 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 6.7.0.) in /wp-includes/functions.php on line 6121
[31-Jul-2025 06:00:24 UTC] PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>wplegalpages</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. 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 6.7.0.) in /wp-includes/functions.php on line 6121
[31-Jul-2025 06:00:24 UTC] PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>wplegalpages</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. 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 6.7.0.) in /wp-includes/functions.php on line 6121
[31-Jul-2025 06:00:24 UTC] PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>wplegalpages</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. 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 6.7.0.) in /wp-includes/functions.php on line 6121
[31-Jul-2025 06:00:25 UTC] PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>wplegalpages</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. 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 6.7.0.) in /wp-includes/functions.php on line 6121
[31-Jul-2025 06:00:27 UTC] PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>wplegalpages</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. 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 6.7.0.) in /wp-includes/functions.php on line 6121
[31-Jul-2025 06:00:27 UTC] PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>wplegalpages</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. 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 6.7.0.) in /wp-includes/functions.php on line 6121
[31-Jul-2025 06:00:28 UTC] PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>wplegalpages</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. 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 6.7.0.) in /wp-includes/functions.php on line 6121
[31-Jul-2025 06:00:28 UTC] PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>wplegalpages</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. 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 6.7.0.) in /wp-includes/functions.php on line 6121
[31-Jul-2025 06:00:28 UTC] PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>wplegalpages</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. 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 6.7.0.) in /wp-includes/functions.php on line 6121
[31-Jul-2025 06:00:29 UTC] PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>wplegalpages</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. 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 6.7.0.) in /wp-includes/functions.php on line 6121
[31-Jul-2025 06:00:29 UTC] PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>wplegalpages</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. 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 6.7.0.) in /wp-includes/functions.php on line 6121
[31-Jul-2025 06:00:31 UTC] PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>wplegalpages</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. 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 6.7.0.) in /wp-includes/functions.php on line 6121
[31-Jul-2025 06:00:31 UTC] PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>wplegalpages</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. 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 6.7.0.) in /wp-includes/functions.php on line 6121
[31-Jul-2025 06:00:31 UTC] PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>wplegalpages</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. 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 6.7.0.) in /wp-includes/functions.php on line 6121
[31-Jul-2025 06:00:32 UTC] PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>wplegalpages</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. 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 6.7.0.) in /wp-includes/functions.php on line 6121
[31-Jul-2025 06:00:32 UTC] PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>wplegalpages</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. 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 6.7.0.) in /wp-includes/functions.php on line 6121
[31-Jul-2025 06:00:32 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://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 6121
[31-Jul-2025 06:00:36 UTC] PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>wplegalpages</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. 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 6.7.0.) in /wp-includes/functions.php on line 6121
[31-Jul-2025 06:00:36 UTC] PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>wplegalpages</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. 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 6.7.0.) in /wp-includes/functions.php on line 6121
See also: All tests for this plugin, How to Hide WP Legal Pages Admin Menus