I am having troubles upgrading my SuiteCRM installation from 7.10.7 to 7.10.10 with PHP Fatal error (I also couldn’t upgrade last version because of some other reason).
This time the error I am getting is:
PHP Fatal error: Cannot pass parameter 1 by reference in ~/SuiteCRM/include/dir_inc.php on line 255, referer: http://localhost/index.php
And the line 255 in dir_inc.php is:
$the_array[] = clean_path("$the_dir/$f");
I did a Google search and came with a fix (with my very limited PHP knowledge as below:
Sorry for my late reply. I kept trying and finally upgrade completed without an error. So there was no problem in the upgrade code itself but somehow my old version of PHP and many-times-upgraded-install was a problem (my fresh install was 7.02, and have been upgrading since then).
I bit the bullet and upgraded my sever to Ubuntu 18.04, PHP 7.2 with php72-fpm. Did a fresh install and plugged it into old upgraded database. I couldn’t have been more happy B-)
Everything works perfectly and performance with 7.2/php-fpm is 10 times better