scotch-io/scotch-box

Error with Craft CMS on Installation

Opened this issue · 0 comments

I follow this guide : https://craftquest.io/courses/localhosting-craft-cms/4312

I got this error just after i change 000-default.conf

sudo vim /etc/apache2/sites-enabled/000-default.conf

File :

<VirtualHost *:80>
        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/web
        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined
        <Directory "/var/www/web">
            Options Indexes FollowSymLinks
            AllowOverride all
            Require all granted
        </Directory>
    </VirtualHost>

sudo apachectl restart
exit

When i go to
http://192.168.33.10
or
http://192.168.33.10/admin/install

I got this error:

Warning: Class 'Tightenco\Collect\Support\Arr' not found in /var/www/vendor/tightenco/collect/src/Collect/Support/alias.php on line 16

Parse error: syntax error, unexpected '=' in /var/www/vendor/tightenco/collect/src/Collect/Support/Arr.php on line 384