WPIntell

Source evidence

session_start should not be called during WP Cron

Favorites · support · 2025-11-05T00:33:00+00:00

complaintsentiment
highseverity
0.98relevance
1replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

1 / 21 rows with source links

4.8% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

20 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Earthman Media unresolved
Error stack trace: session_start(): Session cannot be started after headers have already been sent in session_start called at /code/wp-content/plugins/favorites/app/Bootstrap.php (83) in Favorites\Bootstrap::startSession called at /code/wp-content/plugins/favorites/app/Bootstrap.php (43) at /code/wp-includes/class-wp-hook.php (324) at /code/wp-includes/class-wp-hook.php (348) called at /code/wp-includes/plugin.php (517) do_action called at /code/wp-settings.php (727) require_once called at /code/wp-config.php (228) require_once called at /code/wp-load.php (50) require_once called at /code/wp-cron.php (46) Can you please fix by adding: /** * Initialize a Session */ public function startSession() { // if cron job, do not start session if ( defined( 'DOING_CRON' ) && DOING_CRON ) return; if ( $this->settings_repo->saveType() !== 'session' ) return; if ( !session_id() ) session_start(); } Thanks, it works well. Let’s hope the original developer updates de plugin ASAP and fixes this issue and the security issue urgently. This reply was modified 5 months, 1 week ago by clip1492 .

Comments

1 shown
clip1492 2025-12-18T12:37:00+00:00

Thanks, it works well. Let’s hope the original developer updates de plugin ASAP and fixes this issue and the security issue urgently. This reply was modified 5 months, 1 week ago by clip1492 .