hitAppoint Online Appointment Scheduling SoftwareOnline Appointment Software

Forum

You are not logged in.

  • Index
  •  » Help Needed
  •  » Warning: preg_match() expects parameter 2 to be string, array given

#1 2008-05-12 20:36:32

fruitybeetle
New member
Registered: 2008-02-16
Posts: 3

Warning: preg_match() expects parameter 2 to be string, array given

I'm getting this come up when the date is selected for a service.

The service is set to be available on 2nd Tuesday of every month. I'm no good at php! Can someone help.

Warning: preg_match() expects parameter 2 to be string, array given in /home/options/public_html/bookings/core/base/code/core/objects/Staff.php on line 162

Warning: preg_match() expects parameter 2 to be string, array given in /home/options/public_html/bookings/core/base/code/core/objects/Staff.php on line 168

I have also sent a support request by email - sorry but my client is getting inpatient! Thanks

Offline

 

#2 2008-05-13 06:04:23

algis
Administrator
Registered: 2006-01-09
Posts: 753
Website

Re: Warning: preg_match() expects parameter 2 to be string, array given

Dear Paul,
I'm sorry it has been a fault from our side. It seems that this bug appears when a staff member has no regular weekly hours configured. Alhough it was fixed when I saved the staff working hours again.

It is now fixed at your site. We will resolve this problem in the next update.

Offline

 

#3 2008-05-13 19:20:29

fruitybeetle
New member
Registered: 2008-02-16
Posts: 3

Re: Warning: preg_match() expects parameter 2 to be string, array given

Hi Algis,

Fair enough. I'm happy to just click "save" on zero regular hours to get around this. I think this is a great script by the way, and really appreciate your prompt support replies.

Offline

 
  • Index
  •  » Help Needed
  •  » Warning: preg_match() expects parameter 2 to be string, array given

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson