updating friendica

I had a small friendica site that I wanted to update.

Rename the old friendica directory with filezilla

Create a new directory with filezilla

ssh server
cd new directory
git clone git://github.com/friendica/friendica.git .
copy .htconfig.php from the old directory to the new

but but but

I still have

Warning: Invalid argument supplied for foreach() in /…/…/…/mod/profile.php on line 304
and
Warning: Cannot modify header information – headers already sent by (output started at /…/…/…/mod/profile.php:304) in /…/…/…/index.php on line 559

Shall I stop using friendica on Dreamhost and installing hubzilla. I know that hubzilla works well on Dreamhost

 

Probably something was corrected because one week after … http://www.talkplus.org/blog/2016/how-to-update-friendica-with-ssh/ it works.