G
G
good_beginer2018-10-05 18:46:13
Magento
good_beginer, 2018-10-05 18:46:13

Why is magento2 throwing an error?

I downloaded and uploaded magento2 to localhost, everything seems to work, but with any command (let's say sudo php bin/magento cache:flush) gives the same error

Deprecated Functionality: The each() function is deprecated. This message will be suppressed on further calls in /var/www/html/vendor/colinmollenhour/cache-backend-file/File.php on line 81

//php7.1, apache 2.4

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
CodeKeeper, 2018-10-05
@CodeKeeper

Check that you are running 7.1 from the console, not 7.2

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question