implode() error after PHP 7.4 upgrade
-
Just to let you guys know, after recently upgrading my site to PHP 7.4 I started receiving a console error message saying implode() was now deprecated. I did some research and appears it’s a simple fix by inverting the values in /vendor/google/apclient/src/Google/Http/Rest.php
Line 173 from:
$requestUrl .= '?' . implode($queryVars, '&');
to:
$requestUrl .= '?' . implode('&', $queryVars);
Hope this is correct?
- The topic ‘implode() error after PHP 7.4 upgrade’ is closed to new replies.