WhatsApp Multi Agent - white error screen when enabled..

I have been using this for a while with no problems, I recently updated and now I get the following error:

Error: Call to a member function modify() on boolean: Call to a member function modify() on boolean

this crashes the whole site and it just a white screen with the above error message when I enable the whatsapp multiagent module.
3 years 6 months ago #1 by Steven Northam
The topic has been marked as resolved.
  • Posted by TemplatePlazza (5261) Offline
Hi, Can you share temporary access to your website so I can have a look on it directly? If you can, you can share it in the Your Site Details tab below. Only you and support staffs who are able to see it.
3 years 6 months ago #2 by TemplatePlazza
The topic has been marked as resolved.
Ill need to get authorisation from our sys admin to give access - ill come back on that.

I saw on another post it may be something to do with DST? are the lines within the helper.php file which can be commented out to remove the issue?
3 years 6 months ago #3 by Steven Northam
The topic has been marked as resolved.
  • Posted by TemplatePlazza (5261) Offline
Yes, it's something related to DST but. Strangely it happened only on some servers. Temporarily you can comment these lines below in the helper.php at lines 27 - 28 so it becomes :
// $start  = $start->modify('+ 1 hour');
// $end    = $end->modify('+ 1 hour');
3 years 6 months ago #4 by TemplatePlazza
The topic has been marked as resolved.
That fixed it - thank you :)
3 years 6 months ago #5 by Steven Northam
The topic has been marked as resolved.
Powered by Kunena Forum