Error since update
-
Since the last update, every time a user goes to complete a booking, it gives us an error message and won’t book. It is the first time we have ever experienced any booking issue. And we can’t seem to find a resolve for it
The page I need help with: [log in to see the link]
-
Hi,
enable the wordpress debug log, make a new test, then report the error logs from the debug.log file that you’ll find inside the wp-content folder.
Do you know where the wp-config.php folder might be? Trying to follow a guide to enable debug but i cant find this on my wp file manager


here are the logs i used a plugin in the end
Line 157 of the first error is
session_start();Line 12 of the second issue is
$incipit = array_shift(explode(“\n”, wordwrap($string, 50)));
If this helps..Just to confirm this has only happened very recently i believe after an update, we haven’t made any major changes.
Thank you
from the screenshot of the logs I don’t see an error, but just warnings or notices. Make sure you reproduce the error first, then refresh the logs list.
Look for “Php fatal error”
I have tried again and tried to create a booking to reproduce the error but got the same logs, i have screen shotted the other warning is got also. But all leads to an error warning pop up.


Try this:
- disable all plugins except salon booking
- activate a wordpress standard theme
- go to salonbooking settings / style / disable ajax steps
- make a new booking ( open the javascript console )
- look for error
i done a quick test with just disabling ajax steps, i was able to finally make a booking but i did get this error pop up on the booking form itself just before the booking confirmation
Warning: count(): Parameter must be an array or an object that implements Countable in /home/sabzglam.com/public_html/wp-content/plugins/salon-booking-system/src/SLN/Shortcode/Salon/Step.php on line 119
Warning: count(): Parameter must be an array or an object that implements Countable in /home/sabzglam.com/public_html/wp-content/plugins/salon-booking-system/src/SLN/Shortcode/Salon/Step.php on line 119
It’s still not an error.. anyway try installing this version:
same issue, with ajax disabled it will now complete the booking process, but will show this error on the front end booking form.

Sorry im in the middle of work so I’m trying to find time to disable all plugins and theme and try to find an error but ive not had the time yet, i did try to quickly take the theme back to a WordPress one and it didn’t make a difference
do you have the version before this one? I do believe that one was working well. It’s just since the one where the pop-up asking if you are a Salon/Business owner or Webmaster/service provider. That it has stopped working for us
I got the same issue in this website
-
This reply was modified 2 years, 1 month ago by
fanaanweb.
I have the same issue. When the customer tries to pay with Mollie Payments (our only payment gateway) they see a Chrome browser popup that says ‘Error’.
I tried updating to the new version of the plugin and also the Addon for Mollie payments. Also did not help
Hello,
I got the error message too after placing an online booking. Is there a solution?
I do receive the reservation email and my client also. But its confusing when an error is in the screen.
the php version i’m using is 8.1.30-
This reply was modified 1 year, 7 months ago by
graphicfish.
-
This reply was modified 1 year, 7 months ago by
graphicfish.
-
This reply was modified 1 year, 7 months ago by
graphicfish.
The topic ‘Error since update’ is closed to new replies.