This topic contains 13 replies, has 2 voices, and was last updated by Frank 4 years, 5 months ago.
- Topic
Hi there,
I simply upgraded my php version from 7.1.3 to 7.2.24, and backend in dev-mode is not working anymore:
http://myoroapp319.oro (domain on localhost), which was working fine untill today.
ERROR:
“An exception has been thrown during the rendering of a template (“Warning: count(): Parameter must be an array or an object that implements Countable”).”Configuration:
===
Symfony 3.4.27
Nginx 1.12.2
Php 7.2.24
Php-Modules:
apc
apcu
bcmath
bz2
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
igbinary
intl
json
libxml
mbstring
mcrypt
memcache
memcached
msgpack
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
readline
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tidy
tokenizer
wddx
xdebug
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib[Zend Modules]
Xdebug
Zend OPcache—
I tried to switch back to 7.1.30, but on Nginx 1.12.2 its not so easy (I didn’t find anything).So I made use of symfony’s local webserver, and set
https://symfony.com/doc/current/setup/symfony_server.html-> put .php-version [7.1] in the application directory
-> checked it by symfony local:php:list
(see screenshot: https://snipboard.io/06nTrC.jpg)Nothing changed (same browser error-message) at:
– http://myoroapp319.oro (domain on localhost, nginx-configured)
– http://127.0.0.1:8000 (symfony’s local webserver, started with
$ sudo -u nginx php ./bin/console server:run)Console shows me some ERROR-log-output …
[Sun Nov 3 18:55:36 2019] 127.0.0.1:35032 [301]: /index_dev.php/admin
1572803736.127925: There was a problem sending 179 bytes on socket 12: Broken pipe
[Sun Nov 3 18:55:36 2019] 127.0.0.1:35034 [302]: /index_dev.php/admin/
1572803736.873381: There was a problem sending 179 bytes on socket 10: Broken pipe
[Sun Nov 3 18:55:38 2019] 127.0.0.1:35062 [200]: /index_dev.php/admin/user/login
1572803738.241897: There was a problem sending 179 bytes on socket 11: Broken pipe
1572803738.243016: There was a problem sending 179 bytes on socket 11: Broken pipe
[Sun Nov 3 18:55:38 2019] 127.0.0.1:35076 [200]: /css/themes/oro/oro.css?version=c35ebfd4
1572803738.244890: There was a problem sending 179 bytes on socket 13: Broken pipe
[Sun Nov 3 18:55:38 2019] 127.0.0.1:35078 [200]: /bundles/orofrontend/images/oro-commerce-logo.svg?version=c35ebfd4
[Sun Nov 3 18:55:39 2019] 127.0.0.1:35088 [200]: /index_dev.php/_wdt/69ee0b
1572803739.088070: There was a problem sending 179 bytes on socket 11: Broken pipe
1572803739.089622: There was a problem sending 179 bytes on socket 11: Broken pipe
[Sun Nov 3 18:55:39 2019] 127.0.0.1:35094 [200]: /bundles/oroui/img/background.jpg?ac47dadfb76ab505ca9dd26312dbff10
1572803739.106722: There was a problem sending 179 bytes on socket 11: Broken pipe
[Sun Nov 3 18:55:39 2019] 127.0.0.1:35104 [200]: /bundles/bowerassets/font-awesome/fonts/fontawesome-webfont.woff2?af7ae505a9eed503f8b8e6982036873e
[Sun Nov 3 18:55:56 2019] 127.0.0.1:35110 [302]: /index_dev.php/admin/user/login-check
1572803756.336843: There was a problem sending 179 bytes on socket 12: Broken pipeWhat happend?
Is it a php 7.2 version-problem, or a permission-issue?
(It’s definitely not a Nginx-server-block-configuration issue!)Thanks for help.
FrankPS: If you have any idea how to assign php 7.1, 7.2 or 7.3 to a specific oro-application-site on Centos7/Nginx 1.12.2 would be great, anyway.
(I know, that orocommerce 3.1.9 should work fine with php 7.2)
The forum ‘OroCommerce’ is closed to new topics and replies.