Correos Express Plugin 2.5.7

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

Summary

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

Memory usage: 532.93 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.2
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=b77cf86297
Aspect after-activation
HTTP status 200
Load time 4.834 s
Memory usage 3.23 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.491 s
Memory usage 3.34 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.367 s
Memory usage 3.78 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:2194:28)\n    at Object.error (/wp-admin/admin.php?page=correosexpress-ajustes:1763:17)\n    at c (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.7.2: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: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: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: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:2194:28)\n    at Object.error (/wp-admin/admin.php?page=correosexpress-ajustes:1301:17)\n    at c (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.7.2: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: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: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: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.282 s
Memory usage 3.17 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.284 s0.465 s+0.181 s2.82 MiB3.34 MiB+ 536.88 KiB
/wp-admin/edit.php0.184 s0.244 s+0.060 s2.86 MiB3.39 MiB+ 537.13 KiB
/wp-admin/post-new.php0.916 s1.243 s+0.327 s5.02 MiB5.56 MiB+ 552.02 KiB
/wp-admin/upload.php0.494 s0.439 s-0.055 s2.7 MiB3.21 MiB+ 531.79 KiB
/wp-admin/options-writing.php0.259 s0.212 s-0.047 s2.71 MiB3.2 MiB+ 499.77 KiB
/wp-admin/media-new.php0.224 s0.191 s-0.033 s2.67 MiB3.19 MiB+ 531.96 KiB
/wp-admin/edit-tags.php?taxonomy=category0.202 s0.185 s-0.017 s2.77 MiB3.29 MiB+ 532.87 KiB
/wp-admin/post-new.php?post_type=page1.174 s0.657 s-0.517 s5.01 MiB5.54 MiB+ 547.61 KiB
/wp-admin/options-discussion.php0.334 s0.216 s-0.118 s2.67 MiB3.19 MiB+ 532.59 KiB
/wp-admin/edit-comments.php0.238 s0.220 s-0.018 s2.78 MiB3.29 MiB+ 531.81 KiB
/0.266 s0.225 s-0.041 s2.65 MiB3.17 MiB+ 527.8 KiB
Average 0.416 s0.391 s-0.025 s3.15 MiB3.67 MiB+ 532.93 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
PHP78.1%58,97114,12945
SVG11.9%8,973124
JavaScript7.1%5,36080411
CSS2.8%2,144215
JSON0.1%4001
Total 75,488 14,966 66

PHP Code Analysis | More results »

Lines of code 54,130
Total complexity 8,099
Median class complexity 140.0
Median method complexity 3.0
Most complex class TCPDF_CEX
Most complex function TCPDF_CEX::writeHTML()
Classes 17
Methods 869
Functions 106

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"
        }
    }
}

PHP Error Log 63 lines

[31-May-2021 14:58:25 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
[31-May-2021 14:58:25 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
[31-May-2021 14:58:25 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
[31-May-2021 14:58:25 UTC] PHP Notice:  Trying to get property 'valor' of non-object in /wp-content/plugins/correos-express/class_correosexpress.php on line 714
[31-May-2021 14:58:29 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-05-31 14:58:29') 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
[31-May-2021 14:58:29 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
[31-May-2021 14:58:29 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
[31-May-2021 14:58:29 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
[31-May-2021 14:58:29 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
[31-May-2021 14:58:29 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
[31-May-2021 14:58:29 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
[31-May-2021 14:58:31 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
[31-May-2021 14:58:31 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
[31-May-2021 14:58:31 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
[31-May-2021 14:58:31 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
[31-May-2021 14:58:31 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
[31-May-2021 14:58:31 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
[31-May-2021 14:58:31 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
[31-May-2021 14:58:31 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
[31-May-2021 14:58:31 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
[31-May-2021 14:58:31 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
[31-May-2021 14:58:31 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
[31-May-2021 14:58:31 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
[31-May-2021 14:58:31 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(868): 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
[31-May-2021 14:58:31 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
[31-May-2021 14:58:31 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
[31-May-2021 14:58:31 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
[31-May-2021 14:58:31 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
[31-May-2021 14:58:31 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
[31-May-2021 14:58:31 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
[31-May-2021 14:58:31 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
[31-May-2021 14:58:31 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
[31-May-2021 14:58:31 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
[31-May-2021 14:58:31 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
[31-May-2021 14:58:31 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
[31-May-2021 14:58:31 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
[31-May-2021 14:58:31 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
[31-May-2021 14:58:31 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
[31-May-2021 14:58:31 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
[31-May-2021 14:58:31 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
[31-May-2021 14:58:31 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(868): 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
[31-May-2021 14:58:33 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
[31-May-2021 14:58:33 UTC] PHP Notice:  Undefined offset: 0 in /wp-includes/wp-db.php on line 1323
[31-May-2021 14:58:37 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
[31-May-2021 14:58:37 UTC] PHP Notice:  Undefined offset: 0 in /wp-includes/wp-db.php on line 1323
See also: All tests for this plugin