Discussions
WooCommerce Errors
Hi EasyShip support,
Two errors that have been persisting for months since I've added onto a live site:
REST API request fail (Error: [] cURL error 28) and Warning: session_start()
References:
https://wordpress.org/support/topic/warning-session_start-11/
The latest update still doesn't resolve the session_start error. It has been flooding my error logs every minute.
To recreate the issue, install woocommerce and easyship. Please help.
Here's a possible fix, change line 73 to:
if (session_status() == PHP_SESSION_NONE && ! headers_sent())
Another way would be:
if (!@session_id())
@session_start();
to suppress the warning notice.
Reference:
https://www.php.net/manual/en/function.session-status.php#111945
Note that session_status() works for PHP 5.4.0 and above.
Hoped this helps!
ο»Ώ