› Forums › SNAP – WordPress Plugin Forums › SNAP causing fatal error can't login as admin
Tagged: can't login, fatal error, php line 94, return value, SNAP
- This topic has 3 replies, 2 voices, and was last updated 6 years, 6 months ago by MaryS.
- AuthorPosts
- April 18, 2018 at 6:01 pm #558610
16 days ago I logged into my wordpress site and updated the SNAP 4.1.7 settings because the Facebook and Twitter post options were not appearing on my create or edit post screen.I did not publish anything after making the changes. Later I visited my site and did a search. Now my site is stuck on the results of that search, even for other users on other computers. but everything else yields the same fatal error. I CAN’T EVEN LOGIN TO MY SITE AS ADMIN. PLEASE HELP!
Fatal error: Can’t use function return value in write context in /home1/dworks/public_html/veryactivelife.com/wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_functions_adv.php on line 94
April 18, 2018 at 7:34 pm #558611You are getting that because your PHP is EXTREMELY OLD. This error appears only on PHP 5.4 or earlier.
PHP 5.4 reached its end of life: 3 Sep 2015 (2 years, 8 months ago)
It’s already PHP 7.2. PHP 7 is about 4 times faster then PHP 5. Only this should be the reason to upgrade. More and more code will stop supporting outdated PHP versions. Please consider upgrade and you won’t be hitting issues like this.
Also PHP 5.4 has several security issues that are not fixed and not going to be fixed, because it’s no longer supported or updated.
Anyway, that issue has been fixed long time ago. Please update plugin to the latest version (4.2.2).
PS: Upgrading old, slow, outdated, insecure PHP is a much better solution. As soon as you install PHP 5.5. or newer, problem will disappear by itself.
April 18, 2018 at 8:42 pm #558612My plugins are set to auto-update. I said my SNAP was 4.1.7 because that’s what it was 16 days ago when I checked it. I repeat, I CAN’T LOGIN AS WORDPRESS ADMIN! How am I supposed to update anything?????
April 18, 2018 at 11:59 pm #558613Host Gator defaults to php 5.4, they consider 5.6 the most recent stable version. My site is now set to automatically update to their latest “stable” version. My SNAP is 4.2.2, apparently it automatically updated from 4.1.7 and the deprecAted php crashed it.
- AuthorPosts
- You must be logged in to reply to this topic.