SOLVED !!! Error with PHP 7.1.0 [BETA]

  • Stephen
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
9 years 4 days ago - 9 years 2 days 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: 9 years 2 days ago by Dang Thuc Dam.

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

More
9 years 4 days ago #87195 by Dang Thuc Dam
Replied by Dang Thuc 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
9 years 4 days ago - 9 years 4 days 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: 9 years 4 days ago by Stephen.

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

Moderators: Dang Thuc Dam