Bug #423

PHP 5.4 compatibility

Added by Wesley Render over 9 years ago. Updated about 9 years ago.

Status:Resolved Start date:05 Sep 2014
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-

Description

Great to see that there is an official modules for this integration. I've installed this module with our WHMCS 5.3.9. It is throwing all sorts of PHP strict errors, and also the departments show up, but when you click "Next" after that it just sits at that request. Is this module not compatible at all with PHP 5.4.x?

Here are some of the errors:

[[Strict Standards: Declaration of kyDepartment::createNew() should be compatible with kyObjectBase::createNew() in /home/otherd/whmcs_store/modules/support/kayako/API/kyDepartment.php on line 489

Strict Standards: Declaration of kyStaff::createNew() should be compatible with kyObjectBase::createNew() in /home/otherd/whmcs_store/modules/support/kayako/API/kyStaff.php on line 525

Strict Standards: Declaration of kyStaffGroup::createNew() should be compatible with kyObjectBase::createNew() in /home/otherd/whmcs_store/modules/support/kayako/API/kyStaffGroup.php on line 136

Strict Standards: Declaration of kyTicket::createNew() should be compatible with kyObjectBase::createNew() in /home/otherd/whmcs_store/modules/support/kayako/API/kyTicket.php on line 2051

Strict Standards: Declaration of kyTicket::getAll() should be compatible with kyObjectBase::getAll($search_parameters = Array) in /home/otherd/whmcs_store/modules/support/kayako/API/kyTicket.php on line 2051
]]

History

Updated by Mansi Wason over 9 years ago

Hi Wesley,

Here are some of the errors:
You need to disable the Strict errors for that you need to change -
In config.php
error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING ^ E_STRICT);

Is this module not compatible at all with PHP 5.4.x?
http://blog.whmcs.com/?t=92179

Thanks,
Mansi Wason

Updated by Mansi Wason about 9 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF