Skip to content

Error with Craft CMS on Installation #415

@paallaire

Description

@paallaire

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions