Title: fatal error when activating plugin
Last modified: November 14, 2025

---

# fatal error when activating plugin

 *  [martijnploos](https://wordpress.org/support/users/martijnploos/)
 * (@martijnploos)
 * [6 months, 3 weeks ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-80/)
 * Hello,
 * I recently installed the latest WP and PHP/Apache and the plugin version: 10.30.2
 * When activating the plugin I receive an error of a fatal error. The beneath error
   is in the logging.
 * Can you help me to fix this problem?
 * [14-Nov-2025 20:41:29 UTC] PHP Notice: Function wp_register_script was called
   <strong>incorrectly</strong>. Scripts and styles should not be registered or 
   enqueued until the <code>wp_enqueue_scripts</code>, <code>admin_enqueue_scripts
   </code>, or <code>login_enqueue_scripts</code> hooks. This notice was triggered
   by the <code>salon-customServiceCategory</code> handle. Please see <a href=”[https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/”>Debugging](https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/”>Debugging)
   in WordPress</a> for more information. (This message was added in version 3.3.0.)
   in /var/www/html/wp-includes/functions.php on line 6121 [14-Nov-2025 20:41:29
   UTC] PHP Notice: Function wp_enqueue_script was called <strong>incorrectly</strong
   >. Scripts and styles should not be registered or enqueued until the <code>wp_enqueue_scripts
   </code>, <code>admin_enqueue_scripts</code>, or <code>login_enqueue_scripts</
   code> hooks. This notice was triggered by the <code>salon-customServiceCategory
   </code> handle. Please see <a href=”[https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/”>Debugging](https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/”>Debugging)
   in WordPress</a> for more information. (This message was added in version 3.3.0.)
   in /var/www/html/wp-includes/functions.php on line 6121 [14-Nov-2025 20:41:29
   UTC] PHP Notice: Function _load_textdomain_just_in_time was called <strong>incorrectly
   </strong>. Translation loading for the <code>salon-booking-system</code> domain
   was triggered too early. This is usually an indicator for some code in the plugin
   or theme running too early. Translations should be loaded at the <code>init</
   code> action or later. Please see <a href=”[https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/”>Debugging](https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/”>Debugging)
   in WordPress</a> for more information. (This message was added in version 6.7.0.)
   in /var/www/html/wp-includes/functions.php on line 6121 [14-Nov-2025 20:41:30
   UTC] PHP Deprecated: SLN_Enum_AvailabilityModeProvider::getService(): Implicitly
   marking parameter $booking as nullable is deprecated, the explicit nullable type
   must be used instead in /var/www/html/wp-content/plugins/salon-booking-system/
   src/SLN/Enum/AvailabilityModeProvider.php on line 38 [14-Nov-2025 20:41:30 UTC]
   PHP Deprecated: SLN_Repository_BookingRepository::getForAvailabilityBookings():
   Implicitly marking parameter $currentBooking as nullable is deprecated, the explicit
   nullable type must be used instead in /var/www/html/wp-content/plugins/salon-
   booking-system/src/SLN/Repository/BookingRepository.php on line 111 [14-Nov-2025
   20:41:30 UTC] PHP Deprecated: SLN_Repository_BookingRepository::getForAvailability():
   Implicitly marking parameter $currentBooking as nullable is deprecated, the explicit
   nullable type must be used instead in /var/www/html/wp-content/plugins/salon-
   booking-system/src/SLN/Repository/BookingRepository.php on line 202 [14-Nov-2025
   20:41:30 UTC] PHP Deprecated: SLN_Repository_BookingRepository::getForAvailabilityAllBookings():
   Implicitly marking parameter $currentBooking as nullable is deprecated, the explicit
   nullable type must be used instead in /var/www/html/wp-content/plugins/salon-
   booking-system/src/SLN/Repository/BookingRepository.php on line 208 [14-Nov-2025
   20:41:30 UTC] PHP Deprecated: SLN_Wrapper_Attendant::isNotAvailableOnDate(): 
   Implicitly marking parameter $service as nullable is deprecated, the explicit
   nullable type must be used instead in /var/www/html/wp-content/plugins/salon-
   booking-system/src/SLN/Wrapper/Attendant.php on line 44 [14-Nov-2025 20:41:30
   UTC] PHP Deprecated: SLN_Wrapper_AttendantInterface::isNotAvailableOnDate(): 
   Implicitly marking parameter $service as nullable is deprecated, the explicit
   nullable type must be used instead in /var/www/html/wp-content/plugins/salon-
   booking-system/src/SLN/Wrapper/AttendantInterface.php on line 8 [14-Nov-2025 
   20:41:30 UTC] PHP Deprecated: GuzzleHttp\Promise\queue(): Implicitly marking 
   parameter $assign as nullable is deprecated, the explicit nullable type must 
   be used instead in /var/www/html/wp-content/plugins/salon-booking-system/src/
   SLN/Third/google-api-php-client/vendor/guzzlehttp/promises/src/functions.php 
   on line 24 [14-Nov-2025 20:41:30 UTC] PHP Deprecated: GuzzleHttp\Promise\each():
   Implicitly marking parameter $onFulfilled as nullable is deprecated, the explicit
   nullable type must be used instead in /var/www/html/wp-content/plugins/salon-
   booking-system/src/SLN/Third/google-api-php-client/vendor/guzzlehttp/promises/
   src/functions.php on line 260 [14-Nov-2025 20:41:30 UTC] PHP Deprecated: GuzzleHttp\
   Promise\each(): Implicitly marking parameter $onRejected as nullable is deprecated,
   the explicit nullable type must be used instead in /var/www/html/wp-content/plugins/
   salon-booking-system/src/SLN/Third/google-api-php-client/vendor/guzzlehttp/promises/
   src/functions.php on line 260 [14-Nov-2025 20:41:30 UTC] PHP Deprecated: GuzzleHttp\
   Promise\each_limit(): Implicitly marking parameter $onFulfilled as nullable is
   deprecated, the explicit nullable type must be used instead in /var/www/html/
   wp-content/plugins/salon-booking-system/src/SLN/Third/google-api-php-client/vendor/
   guzzlehttp/promises/src/functions.php on line 285 [14-Nov-2025 20:41:30 UTC] 
   PHP Deprecated: GuzzleHttp\Promise\each_limit(): Implicitly marking parameter
   $onRejected as nullable is deprecated, the explicit nullable type must be used
   instead in /var/www/html/wp-content/plugins/salon-booking-system/src/SLN/Third/
   google-api-php-client/vendor/guzzlehttp/promises/src/functions.php on line 285[
   14-Nov-2025 20:41:30 UTC] PHP Deprecated: GuzzleHttp\Promise\each_limit_all():
   Implicitly marking parameter $onFulfilled as nullable is deprecated, the explicit
   nullable type must be used instead in /var/www/html/wp-content/plugins/salon-
   booking-system/src/SLN/Third/google-api-php-client/vendor/guzzlehttp/promises/
   src/functions.php on line 307 [14-Nov-2025 20:41:30 UTC] PHP Notice: Function
   wp_register_script was called <strong>incorrectly</strong>. Scripts and styles
   should not be registered or enqueued until the <code>wp_enqueue_scripts</code
   >, <code>admin_enqueue_scripts</code>, or <code>login_enqueue_scripts</code> 
   hooks. This notice was triggered by the <code>salon-customServiceCategory</code
   > handle. Please see <a href=”[https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/”>Debugging](https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/”>Debugging)
   in WordPress</a> for more information. (This message was added in version 3.3.0.)
   in /var/www/html/wp-includes/functions.php on line 6121 [14-Nov-2025 20:41:30
   UTC] PHP Notice: Function wp_enqueue_script was called <strong>incorrectly</strong
   >. Scripts and styles should not be registered or enqueued until the <code>wp_enqueue_scripts
   </code>, <code>admin_enqueue_scripts</code>, or <code>login_enqueue_scripts</
   code> hooks. This notice was triggered by the <code>salon-customServiceCategory
   </code> handle. Please see <a href=”[https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/”>Debugging](https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/”>Debugging)
   in WordPress</a> for more information. (This message was added in version 3.3.0.)
   in /var/www/html/wp-includes/functions.php on line 6121 [14-Nov-2025 20:41:30
   UTC] PHP Notice: Function _load_textdomain_just_in_time was called <strong>incorrectly
   </strong>. Translation loading for the <code>salon-booking-system</code> domain
   was triggered too early. This is usually an indicator for some code in the plugin
   or theme running too early. Translations should be loaded at the <code>init</
   code> action or later. Please see <a href=”[https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/”>Debugging](https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/”>Debugging)
   in WordPress</a> for more information. (This message was added in version 6.7.0.)
   in /var/www/html/wp-includes/functions.php on line 6121 [14-Nov-2025 20:41:31
   UTC] PHP Notice: Function wp_register_script was called <strong>incorrectly</
   strong>. Scripts and styles should not be registered or enqueued until the <code
   >wp_enqueue_scripts</code>, <code>admin_enqueue_scripts</code>, or <code>login_enqueue_scripts
   </code> hooks. This notice was triggered by the <code>salon-customServiceCategory
   </code> handle. Please see <a href=”[https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/”>Debugging](https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/”>Debugging)
   in WordPress</a> for more information. (This message was added in version 3.3.0.)
   in /var/www/html/wp-includes/functions.php on line 6121 [14-Nov-2025 20:41:31
   UTC] PHP Notice: Function wp_enqueue_script was called <strong>incorrectly</strong
   >. Scripts and styles should not be registered or enqueued until the <code>wp_enqueue_scripts
   </code>, <code>admin_enqueue_scripts</code>, or <code>login_enqueue_scripts</
   code> hooks. This notice was triggered by the <code>salon-customServiceCategory
   </code> handle. Please see <a href=”[https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/”>Debugging](https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/”>Debugging)
   in WordPress</a> for more information. (This message was added in version 3.3.0.)
   in /var/www/html/wp-includes/functions.php on line 6121 [14-Nov-2025 20:41:31
   UTC] PHP Notice: Function _load_textdomain_just_in_time was called <strong>incorrectly
   </strong>. Translation loading for the <code>salon-booking-system</code> domain
   was triggered too early. This is usually an indicator for some code in the plugin
   or theme running too early. Translations should be loaded at the <code>init</
   code> action or later. Please see <a href=”[https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/”>Debugging](https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/”>Debugging)
   in WordPress</a> for more information. (This message was added in version 6.7.0.)
   in /var/www/html/wp-includes/functions.php on line 6121
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-when-activating-plugin-80%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘fatal error when activating plugin’ is closed to new replies.

 * ![](https://ps.w.org/salon-booking-system/assets/icon-256x256.gif?rev=3214950)
 * [Salon Booking System - Free Version](https://wordpress.org/plugins/salon-booking-system/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/salon-booking-system/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/salon-booking-system/)
 * [Active Topics](https://wordpress.org/support/plugin/salon-booking-system/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/salon-booking-system/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/salon-booking-system/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [martijnploos](https://wordpress.org/support/users/martijnploos/)
 * Last activity: [6 months, 3 weeks ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-80/)
 * Status: not resolved