Author |
|
schwim Valued Community Member
Joined: 21 November 2017 Location: United States
Online Status: Offline Posts: 49
|
Posted: 31 March 2018 at 10:14am | IP Logged
|
|
|
Hi there everyone!
While trying to run any URL on the new install, I got:
Quote:
Parse error: syntax error, unexpected '.', expecting '&' or variable (T_VARIABLE) in /home/me/public_html/mail/vendor/tightenco/collect/src/Illuminate/Support/helpers.php on line 109 |
|
|
Code:
function dd(...$args)
{
foreach ($args as $x) {
(new Dumper)->dump($x);
}
die(1);
} |
|
|
changing
to
resolved the error for me.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 02 April 2018 at 2:35am | IP Logged
|
|
|
This syntax is actually added in PHP 5.6 so we recommend upgrading your PHP version. While removing the dots will suppress the parse error, it won't make the Dropbox-related library work as expected.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|