How to fix Unknown collation utf8mb4_unicode_520_ci error while importing data from an sql dump


ERROR 1273 (HY000) at line 849: Unknown collation: ‘utf8mb4_unicode_520_ci’

To fix simply replace utf8mb4_unicode_520_ci to utf8mb4_unicode_ci inside your SQL dump


sed -i 's/utf8mb4_unicode_520_ci/utf8mb4_unicode_ci/g' yoursqldumphere.sql


replace 'utf8mb4_unicode_520_ci' 'utf8mb4_unicode_ci' -- yoursqldumphere.sql
Read the rest

How to fix WHMCS error Call to undefined method WHMCS\Http\Client\HttpClient

WHMCS Error:

Error: Call to undefined method WHMCS\Http\Client\HttpClient::requestAsync() in

Rename vendor/ and modules/ folders

[email protected] [/home/user/public_html/hosting]# mv vendor/ vendor_old
[email protected] [/home/user/public_html/hosting]# mv modules/ modules_old

Upload fresh appropriate WHMCS version files into temp folder, for example: whmcstemp/

Copy vendor/ and modules/ folders from whmcstemp into your WHMCS installation folder:

[email protected] [/home/user/public_html/hosting]# cp -rp ../whmcstemp/vendor/
Read the rest