Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: PHP error on install Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
schwim
Valued Community Member
Valued Community Member


Joined: 21 November 2017
Location: United States
Online Status: Offline
Posts: 49
Posted: 31 March 2018 at 10:14am | IP Logged Quote schwim

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

Code:
function dd(...$args)


to

Code:
function dd($args)


resolved the error for me.
Back to Top View schwim's Profile Search for other posts by schwim
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6038
Posted: 02 April 2018 at 2:35am | IP Logged Quote Igor

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 View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide