fatal error when activating plugin
-
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.ww.wp.xz.cn/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.ww.wp.xz.cn/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.ww.wp.xz.cn/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.ww.wp.xz.cn/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.ww.wp.xz.cn/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.ww.wp.xz.cn/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.ww.wp.xz.cn/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.ww.wp.xz.cn/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.ww.wp.xz.cn/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 to see the link]
The topic ‘fatal error when activating plugin’ is closed to new replies.