Correos Express Plugin 2.4.15

Does Correos Express Plugin work with WordPress 5.7 and PHP 7.4.8? A smoke test was performed on .

Summary

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

Memory usage: 503.73 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 version5.7
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 1,000+
WordPress.org page https://wordpress.org/plugins/correos-express/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=correos-express%2Fclass_correosexpress.php&plugin_status=all&paged=1&s&_wpnonce=384a8ee23d
Aspect after-activation
HTTP status 200
Load time 4.054 s
Memory usage 3.2 MiB
JS errors None
Resource errors None

Correos Express

Page screenshot: Correos Express
URL /wp-admin/admin.php?page=correosexpress
Aspect menu-item
HTTP status 200
Load time 0.416 s
Memory usage 3.31 MiB
JS errors None
Resource errors None

Correos Express → Settings

Page screenshot: Correos Express → Settings
URL /wp-admin/admin.php?page=correosexpress-ajustes
Aspect menu-item
HTTP status 200
Load time 0.356 s
Memory usage 3.72 MiB
JS errors
[
    {
        "message": "SyntaxError: Unexpected token o in JSON at position 1\n    at JSON.parse (<anonymous>)\n    at pintarRespuestaAjax (/wp-admin/admin.php?page=correosexpress-ajustes:1990:28)\n    at Object.error (/wp-admin/admin.php?page=correosexpress-ajustes:1619:17)\n    at c (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.7:2:28294)\n    at Object.fireWith [as rejectWith] (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.7:2:29039)\n    at l (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.7:2:79825)\n    at XMLHttpRequest.<anonymous> (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.7:2:82254)",
        "trace": null,
        "code": null
    },
    {
        "message": "SyntaxError: Unexpected token o in JSON at position 1\n    at JSON.parse (<anonymous>)\n    at pintarRespuestaAjax (/wp-admin/admin.php?page=correosexpress-ajustes:1990:28)\n    at Object.error (/wp-admin/admin.php?page=correosexpress-ajustes:1213:17)\n    at c (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.7:2:28294)\n    at Object.fireWith [as rejectWith] (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.7:2:29039)\n    at l (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.7:2:79825)\n    at XMLHttpRequest.<anonymous> (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.7:2:82254)",
        "trace": null,
        "code": null
    }
]
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.195 s
Memory usage 3.14 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.256 s0.245 s-0.011 s2.82 MiB3.32 MiB+ 507.63 KiB
/wp-admin/edit.php0.175 s0.351 s+0.176 s2.86 MiB3.36 MiB+ 507.88 KiB
/wp-admin/post-new.php0.900 s0.975 s+0.075 s5.02 MiB5.53 MiB+ 523.1 KiB
/wp-admin/upload.php0.453 s0.394 s-0.059 s2.7 MiB3.19 MiB+ 502.53 KiB
/wp-admin/options-writing.php0.251 s0.171 s-0.080 s2.71 MiB3.17 MiB+ 470.51 KiB
/wp-admin/media-new.php0.210 s0.210 s+0.000 s2.67 MiB3.16 MiB+ 502.7 KiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.215 s+0.024 s2.77 MiB3.26 MiB+ 503.61 KiB
/wp-admin/post-new.php?post_type=page1.101 s0.619 s-0.482 s5.01 MiB5.51 MiB+ 518.69 KiB
/wp-admin/options-discussion.php0.278 s0.196 s-0.082 s2.67 MiB3.17 MiB+ 503.33 KiB
/wp-admin/edit-comments.php0.246 s0.208 s-0.038 s2.78 MiB3.27 MiB+ 502.55 KiB
/0.260 s0.206 s-0.054 s2.65 MiB3.14 MiB+ 498.55 KiB
Average 0.393 s0.345 s-0.048 s3.15 MiB3.64 MiB+ 503.73 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
SVG
Language % Lines of code Comment lines Files
PHP81.2%57,96712,80743
SVG12.6%8,973124
JavaScript3.7%2,66074510
CSS2.5%1,786154
JSON0.1%4001
Total 71,426 13,579 62

PHP Code Analysis | More results »

Lines of code 52,433
Total complexity 7,967
Median class complexity 135.0
Median method complexity 3.0
Most complex class TCPDF_CEX
Most complex function TCPDF_CEX::writeHTML()
Classes 17
Methods 859
Functions 65

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 9

Meta Boxes

{
    "shop_order": {
        "woocommerce-order-cex": {
            "title": "Correos Express shipping registration",
            "context": "advanced"
        },
        "woocommerce-history-cex": {
            "title": "Correos Express historical shipping",
            "context": "advanced"
        }
    }
}

PHP Error Log 57 lines

[12-Mar-2021 09:35:01 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:01 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query does not contain the correct number of placeholders (0) for the number of arguments passed (1). Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.8.3.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:01 UTC] WordPress database error Table 'wordpress.wp_cex_customer_options' doesn't exist for query SELECT valor
                                    FROM wp_cex_customer_options
                                    WHERE clave='MXPS_CRONINTERVAL' made by activate_plugin, include_once('/plugins/correos-express/class_correosexpress.php'), CorreosExpress->__construct, CorreosExpress->cex_init_hooks, wp_schedule_event, wp_get_schedules, apply_filters('cron_schedules'), WP_Hook->apply_filters, CorreosExpress->cex_interval_function, CorreosExpress->cex_get_interval, CorreosExpress->cex_retornar_intervalo
[12-Mar-2021 09:35:01 UTC] PHP Notice:  Trying to get property 'valor' of non-object in /wp-content/plugins/correos-express/class_correosexpress.php on line 687
[12-Mar-2021 09:35:05 UTC] WordPress database error Table 'wordpress.wp_cex_migrations' doesn't exist for query INSERT INTO `wp_cex_migrations` (`metodoEjecutado`, `created_at`) VALUES ('DROP TABLE IF EXISTS wp_cex_migrations,cex_aux_migrations', '2021-03-12 09:35:05') made by activate_plugin, do_action('activate_correos-express/class_correosexpress.php'), WP_Hook->do_action, WP_Hook->apply_filters, CorreosExpress::cex_install, install_db, cex_migracion27, actualizarTablasPrincipales, migrarDatos, registrar_ejecucion_migracion
[12-Mar-2021 09:35:05 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:05 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query does not contain the correct number of placeholders (0) for the number of arguments passed (1). Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.8.3.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:05 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:05 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query does not contain the correct number of placeholders (0) for the number of arguments passed (1). Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.8.3.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:07 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:07 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query does not contain the correct number of placeholders (0) for the number of arguments passed (1). Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.8.3.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:07 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:07 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query does not contain the correct number of placeholders (0) for the number of arguments passed (1). Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.8.3.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:07 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:07 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query does not contain the correct number of placeholders (0) for the number of arguments passed (1). Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.8.3.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:07 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:07 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query does not contain the correct number of placeholders (0) for the number of arguments passed (1). Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.8.3.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:07 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:07 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query does not contain the correct number of placeholders (0) for the number of arguments passed (1). Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.8.3.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:07 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:07 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query does not contain the correct number of placeholders (0) for the number of arguments passed (1). Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.8.3.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:07 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_order_statuses() in /wp-content/plugins/correos-express/class_correosexpress.php:1975
Stack trace:
#0 /wp-content/plugins/correos-express/class_correosexpress.php(949): CorreosExpress->cex_retornar_estados_productos()
#1 /wp-includes/class-wp-hook.php(292): CorreosExpress->cex_get_init_form()
#2 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(484): WP_Hook->do_action()
#4 /wp-admin/admin-ajax.php(187): do_action()
#5 {main}
  thrown in /wp-content/plugins/correos-express/class_correosexpress.php on line 1975
[12-Mar-2021 09:35:07 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:07 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query does not contain the correct number of placeholders (0) for the number of arguments passed (1). Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.8.3.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:07 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:07 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query does not contain the correct number of placeholders (0) for the number of arguments passed (1). Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.8.3.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:07 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:07 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query does not contain the correct number of placeholders (0) for the number of arguments passed (1). Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.8.3.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:07 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:07 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query does not contain the correct number of placeholders (0) for the number of arguments passed (1). Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.8.3.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:07 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:07 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query does not contain the correct number of placeholders (0) for the number of arguments passed (1). Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.8.3.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:07 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:07 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query does not contain the correct number of placeholders (0) for the number of arguments passed (1). Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.8.3.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:07 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:07 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query does not contain the correct number of placeholders (0) for the number of arguments passed (1). Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.8.3.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:07 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:07 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query does not contain the correct number of placeholders (0) for the number of arguments passed (1). Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.8.3.) in /wp-includes/functions.php on line 5313
[12-Mar-2021 09:35:07 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_order_statuses() in /wp-content/plugins/correos-express/class_correosexpress.php:1975
Stack trace:
#0 /wp-content/plugins/correos-express/class_correosexpress.php(949): CorreosExpress->cex_retornar_estados_productos()
#1 /wp-includes/class-wp-hook.php(292): CorreosExpress->cex_get_init_form()
#2 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(484): WP_Hook->do_action()
#4 /wp-admin/admin-ajax.php(187): do_action()
#5 {main}
  thrown in /wp-content/plugins/correos-express/class_correosexpress.php on line 1975
See also: All tests for this plugin