Title: PHP Warning: session_start(): Session cannot be started&#8230;.
Last modified: December 26, 2024

---

# PHP Warning: session_start(): Session cannot be started….

 *  [stevedtx99](https://wordpress.org/support/users/stevedtx99/)
 * (@stevedtx99)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/php-warning-session_start-session-cannot-be-started-2/)
 * I’m getting the below error thrown in the php error.log.
   It only goes away after
   I deactivate the **_SAASPROJECT Booking-Package_** plugin.
 * **_PHP Warning: session\_start(): Session cannot be started after headers have
   already been sent in …../public\_html/wp-content/plugins/booking-package/lib/
   Nonce.php on line 15_**

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [MASAAKI](https://wordpress.org/support/users/masaakitanaka/)
 * (@masaakitanaka)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/php-warning-session_start-session-cannot-be-started-2/#post-18218934)
 * Hello,
   If a Warning related to `session_start` is displayed, please go to Booking
   Package > General Settings and select the URL containing the `ajax.php` file 
   name in the “Select the URL for AJAX on the public page” option.Thank you.
 *  Thread Starter [stevedtx99](https://wordpress.org/support/users/stevedtx99/)
 * (@stevedtx99)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/php-warning-session_start-session-cannot-be-started-2/#post-18221153)
 * So, I tried the different combinations of URLs on the General Settings screen
   for Booking-Package, but it didn’t stop the error being generated.
 * I also noticed that it’s being generated exactly every 5 minutes, which I believe
   is the same cycle that my primary cron job is running for the wp-cron.php job.
 *  Plugin Author [MASAAKI](https://wordpress.org/support/users/masaakitanaka/)
 * (@masaakitanaka)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/php-warning-session_start-session-cannot-be-started-2/#post-18222447)
 * We are unable to directly identify which event running in wp-cron.php is affecting
   the Booking Package plugin. Please review the settings for the event running 
   every 5 minutes and consider making any necessary adjustments.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘PHP Warning: session_start(): Session cannot be started….’ is closed 
to new replies.

 * ![](https://ps.w.org/booking-package/assets/icon-128x128.png?rev=1829374)
 * [Booking Package](https://wordpress.org/plugins/booking-package/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/booking-package/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/booking-package/)
 * [Active Topics](https://wordpress.org/support/plugin/booking-package/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/booking-package/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/booking-package/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [MASAAKI](https://wordpress.org/support/users/masaakitanaka/)
 * Last activity: [1 year, 4 months ago](https://wordpress.org/support/topic/php-warning-session_start-session-cannot-be-started-2/#post-18222447)
 * Status: not resolved