solved after downgrading core can't update error

soaringeagle
@soaringeagle
6 years ago
3,304 posts
when i thought i was dealing with a bug in the core (beta) i downgraded on both sites.
i then upgraded again on 1 site however the other site won't upgrade and gives error
[11-Feb-2018 14:34:51 Europe/Dublin] PHP Fatal error:  Cannot use result of built-in function in write context in /var/www/vhosts/dreadlockssite.com/freedomswings.org/modules/jrCore-release-6.1.5/contrib/pear/Tar.php on line 662 [1]

fwi as part of debugging (before verifying this error was related) i had renamed the previous core directory thinking that it was having trouble overwriting because the core files already existed

the error i am getting seems to be in a script to decompress the file after download? (me no speak php)
i did search through to that line number and it appeared to just be loading arguments.

i know this is probably something simple
i don't understand though why it worked on 1 site and not the other

ps
while the update spinner goes on asd on for hours even days, the error appears in error log immediately after clicking update


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 05/21/18 09:55:57PM
soaringeagle
@soaringeagle
6 years ago
3,304 posts
found it!
compatability issue with php 7.2.2
switching to 7.1.14 solved it!


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
brian
@brian
6 years ago
10,148 posts
This is fixed in System Core 6.1.6b7:

https://www.jamroom.net/the-jamroom-network/networkmarket/542/system-core-616b7


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
soaringeagle
@soaringeagle
6 years ago
3,304 posts
ok so after update it will run ok on 7.32.2 again/
thnx for being on the ball


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

Tags