SOLVED !!! Error with PHP 7.1.0 [BETA]

  • Stephen
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
7 years 7 months ago - 7 years 7 months ago #87194 by Stephen
Hi
This is FYI.

By accident I turned on PHP 7.1.0 BETA in my dev site and got this error:

TOO FEW ARGUMENTS TO FUNCTION OSAPPSCHEDULEAJAX::LOADSERVICES(), 9 PASSED IN /STORAGE/CONTENT/45/184345/MY.SITE/PUBLIC_HTML/COMPONENTS/COM_OSSERVICESBOOKING/CLASSES/DEFAULT.HTML.PHP ON LINE 180 AND EXACTLY 10 EXPECTED

I'm NOT using PHP 7.1.0 just wanted to inform you about it.

If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.
Last edit: 7 years 7 months ago by Mr. Dam.

Please Log in or Create an account to join the conversation.

More
7 years 7 months ago #87195 by Mr. Dam
Replied by Mr. Dam on topic Error with PHP 7.1.0 [BETA]
Hi Stephen,
In file: default.html.php, find:
OsAppscheduleAjax::loadServices($option,$services,$year,$month,$day,$category->id,$employee_id,$vid,count($servies));
and change to
OsAppscheduleAjax::loadServices($option,$services,$year,$month,$day,$category->id,$employee_id,$vid,$sid,$employee_id);
Good luck
Dam
The following user(s) said Thank You: Stephen

Please Log in or Create an account to join the conversation.

  • Stephen
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
7 years 7 months ago - 7 years 7 months ago #87218 by Stephen
Replied by Stephen on topic [SOLVED] Error with PHP 7.1.0 [BETA]
Hi
Thanks, confirmed working now with PHP 7.1.0 BETA.

If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.
Last edit: 7 years 7 months ago by Stephen.

Please Log in or Create an account to join the conversation.

Moderators: Mr. Dam