centralnicgroup-opensource / rtldev-middleware-whmcs

CentralNic's WHMCS Software Bundle
https://centralnicreseller.com
Other
40 stars 15 forks source link

/includes/hooks/ispapi_transliteration.php:74 - Invalid argument supplied for foreach() #202

Closed mirchaemanuel closed 3 years ago

mirchaemanuel commented 3 years ago

Describe the bug we have the log full of this items:

array (
 'type' => 2,
 'message' => 'Invalid argument supplied for foreach()',
 'file' => '/home/<OMISSIS>/includes/hooks/ispapi_transliteration.php',
 'line' => 74,
)

GET: array (
 'action' => 'productdetails',
 'id' => '<OMISSIS>',
)

To Reproduce Steps to reproduce the behavior:

  1. Go to a product details page of WHMCS
  2. wait for it

Expected behavior no errors

Context (please complete the following information): Device: server / docker (tried on several devices) OS: Centos 7 / Cloud Linux / Docker Browser Any WHMCS Version 8.0.5 PHP Version 7.3.27 ISPAPI Registrar Module Version 6.2.6

KaiSchwarz-cnic commented 3 years ago

Thanks for reporting @mirchaemanuel ! I'll include fixes/improvements for the other open tasks as well in the next release, to not let you guys upgrade so often.

KaiSchwarz-cnic commented 3 years ago

I launched v6.2.7 including a patch for this.