[17-Sep-2024 06:58:16 UTC] PHP Warning: file_get_contents(/home/website/public_html/wp-content/plugins/wp-scss/cache/main.css): Failed to open stream: No such file or directory in /home/website/public_html/wp-content/plugins/wp-scss/class/class-wp-scss.php on line 107
[17-Sep-2024 06:58:16 UTC] PHP Warning: unlink(/home/website/public_html/wp-content/plugins/wp-scss/cache/main.css): No such file or directory in /home/website/public_html/wp-content/plugins/wp-scss/class/class-wp-scss.php on line 108
Is this an issue in WP SCSS or in LiteSpeed Cache, my caching plugin? If either, anyone know how to fix it or at least turn off the reporting? The SCSS compiles fine and displays correctly on the frontend (in main.css), so there’s no visible issues. It’s just irritating that these are constantly filling up the error log.
]]>Litespeed keeps adding errors to the error_log file. What is the main reason for these errors? The site in question is Turksem.com and do these errors slow down the site? Good work.
[29-Aug-2024 18:30:22 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 for query OPTIMIZE TABLE made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, LiteSpeed\Core->after_user_init, LiteSpeed\Core->proceed_action, LiteSpeed\Router->handler, LiteSpeed\DB_Optm->handler, LiteSpeed\DB_Optm->_db_clean
[29-Aug-2024 18:30:22 UTC] PHP Warning: Undefined property: stdClass::$table_name in /home/turksemc/public_html/wp-content/plugins/litespeed-cache/src/db-optm.cls.php on line 243
[29-Aug-2024 18:30:22 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 for query OPTIMIZE TABLE made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, LiteSpeed\Core->after_user_init, LiteSpeed\Core->proceed_action, LiteSpeed\Router->handler, LiteSpeed\DB_Optm->handler, LiteSpeed\DB_Optm->_db_clean
[29-Aug-2024 18:30:22 UTC] PHP Warning: Undefined property: stdClass::$table_name in /home/turksemc/public_html/wp-content/plugins/litespeed-cache/src/db-optm.cls.php on line 243
[29-Aug-2024 18:30:22 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 for query OPTIMIZE TABLE made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, LiteSpeed\Core->after_user_init, LiteSpeed\Core->proceed_action, LiteSpeed\Router->handler, LiteSpeed\DB_Optm->handler, LiteSpeed\DB_Optm->_db_clean
[29-Aug-2024 18:30:22 UTC] PHP Warning: Undefined property: stdClass::$table_name in /home/turksemc/public_html/wp-content/plugins/litespeed-cache/src/db-optm.cls.php on line 243
[29-Aug-2024 18:30:22 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 for query OPTIMIZE TABLE made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, LiteSpeed\Core->after_user_init, LiteSpeed\Core->proceed_action, LiteSpeed\Router->handler, LiteSpeed\DB_Optm->handler, LiteSpeed\DB_Optm->_db_clean
[29-Aug-2024 18:30:22 UTC] PHP Warning: Undefined property: stdClass::$table_name in /home/turksemc/public_html/wp-content/plugins/litespeed-cache/src/db-optm.cls.php on line 243
[29-Aug-2024 18:30:22 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 for query OPTIMIZE TABLE made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, LiteSpeed\Core->after_user_init, LiteSpeed\Core->proceed_action, LiteSpeed\Router->handler, LiteSpeed\DB_Optm->handler, LiteSpeed\DB_Optm->_db_clean
[29-Aug-2024 18:30:22 UTC] PHP Warning: Undefined property: stdClass::$table_name in /home/turksemc/public_html/wp-content/plugins/litespeed-cache/src/db-optm.cls.php on line 243
[29-Aug-2024 18:30:22 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 for query OPTIMIZE TABLE made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, LiteSpeed\Core->after_user_init, LiteSpeed\Core->proceed_action, LiteSpeed\Router->handler, LiteSpeed\DB_Optm->handler, LiteSpeed\DB_Optm->_db_clean
[29-Aug-2024 18:30:22 UTC] PHP Warning: Undefined property: stdClass::$table_name in /home/turksemc/public_html/wp-content/plugins/litespeed-cache/src/db-optm.cls.php on line 243
[29-Aug-2024 18:30:22 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 for query OPTIMIZE TABLE made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, LiteSpeed\Core->after_user_init, LiteSpeed\Core->proceed_action, LiteSpeed\Router->handler, LiteSpeed\DB_Optm->handler, LiteSpeed\DB_Optm->_db_clean
[29-Aug-2024 18:30:22 UTC] PHP Warning: Undefined property: stdClass::$table_name in /home/turksemc/public_html/wp-content/plugins/litespeed-cache/src/db-optm.cls.php on line 243
[29-Aug-2024 18:30:22 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 for query OPTIMIZE TABLE made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, LiteSpeed\Core->after_user_init, LiteSpeed\Core->proceed_action, LiteSpeed\Router->handler, LiteSpeed\DB_Optm->handler, LiteSpeed\DB_Optm->_db_clean
[29-Aug-2024 18:30:22 UTC] PHP Warning: Undefined property: stdClass::$table_name in /home/turksemc/public_html/wp-content/plugins/litespeed-cache/src/db-optm.cls.php on line 243
[29-Aug-2024 18:30:22 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 for query OPTIMIZE TABLE made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, LiteSpeed\Core->after_user_init, LiteSpeed\Core->proceed_action, LiteSpeed\Router->handler, LiteSpeed\DB_Optm->handler, LiteSpeed\DB_Optm->_db_clean
[29-Aug-2024 18:30:22 UTC] PHP Warning: Undefined property: stdClass::$table_name in /home/turksemc/public_html/wp-content/plugins/litespeed-cache/src/db-optm.cls.php on line 243
[29-Aug-2024 18:30:22 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 for query OPTIMIZE TABLE made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, LiteSpeed\Core->after_user_init, LiteSpeed\Core->proceed_action, LiteSpeed\Router->handler, LiteSpeed\DB_Optm->handler, LiteSpeed\DB_Optm->_db_clean
[29-Aug-2024 18:30:22 UTC] PHP Warning: Undefined property: stdClass::$table_name in /home/turksemc/public_html/wp-content/plugins/litespeed-cache/src/db-optm.cls.php on line 243
[29-Aug-2024 18:30:22 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 for query OPTIMIZE TABLE made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, LiteSpeed\Core->after_user_init, LiteSpeed\Core->proceed_action, LiteSpeed\Router->handler, LiteSpeed\DB_Optm->handler, LiteSpeed\DB_Optm->_db_clean
]]>[07-Jul-2024 19:41:45 UTC] PHP Warning: Undefined array key "url" in /home/REDACTED/public_html/wp-content/plugins/wpforms-lite/src/Forms/IconChoices.php on line 127
[07-Jul-2024 19:41:45 UTC] PHP Warning: Undefined array key "path" in /home/REDACTED/public_html/wp-content/plugins/wpforms-lite/src/Forms/IconChoices.php on line 128
They are upto date and using v1.8.9.5
]]>For your info, i’m getting this php warning error. Thanks
Undefined array key “REQUEST_METHOD” in …/wp-content/plugins/better-wp-security/core/modules/ssl/class-itsec-ssl.php on line 67
]]>What is it, shall I worry and is there anything I can do to fix the issue?
Thank you,
Algis
On error, it use error_log on line 260 and 262.
I wish REPLACE with send_exception so i can catch error.
I mean today it’s only in debug.log file.
With exception i can easy use my already existing module to perform some actions like, logging error in database, sending email on error and some orther.
If needed, i can send you my module.
Thanks
]]>Then if it is a snippet, what I need to do to fix it? I cant see anything wrong on the front end of the website, so note sure which snippet.
What’s the significant of (582) appended to the php file name?
[23-Apr-2024 05:33:23 UTC] PHP Warning: Attempt to read property “labels” on bool in /home/………………./public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(582) : eval()’d code on line 4 [23-Apr-2024 05:33:23 UTC] PHP Warning: Attempt to read property “name” on null in /home/…………………./public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(582) : eval()’d code on line 4
Any help with this appreciated.
Litespeed server, php8.1, WordPress 6.44, Code snippets 3.6.4
]]>define( 'WP_DEBUG', true );
& define('WP_DEBUG_LOG', true);
. But error_log('hello');
is not printing any thing. Mi problema está en el siguiente error que encontre en el archivo error_log:
PHP Warning: Undefined array key 1 in …/public_html/wp-content/plugins/whols/includes/functions.php on line 744
]]>Thanks for creating and maintaining this plugin!
I’m currently seeing an occasional entry in my error_log like this:
[13-Feb-2024 13:23:27 UTC] PHP Warning: Attempt to read property "post_type" on null in /home/xxx/public_html/alexkunz/wp-content/plugins/breadcrumb-navxt/class.bcn_breadcrumb_trail.php on line 397
I’m using the latest WordPress, PHP 8.1, and the latest version of the plugin.
Is there something I can do to troubleshoot this?
Thanks
Alex.
]]>