Unable to Upgrade PHP Beyond 5.6!!
This topic contains 14 replies, has 3 voices, and was last updated by Kiran 5 years, 2 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: php upgrade
-
AuthorPosts
-
December 19, 2019 at 10:03 pm #522475
I updated PHP on the VPS today and every site, including existing v1 GD, went through without issue.
Unfortunately, the staging version that I am rebuilding my GD site up from scratch fails and reports 500 errors.
I was able to upgrade only as high as PHP 5.6.
I deactivated all GD plugins and upgraded to 7.3 without issue. But immediately after upgrading just the main GD plugin (2.0.0.74) I had to roll PHP back to 5.6.
HELP!
December 19, 2019 at 10:07 pm #522476This reply has been marked as private.December 19, 2019 at 10:11 pm #522478Why did you have to roll back?
December 19, 2019 at 10:19 pm #522479I didn’t. It hadn’t been updated for some time and was running on an older version all this time as it was.
Oddly, there is a second staging domain that was a migrated version of the existing site that was then upgraded to GD2, and since has been a “dabbling” area. Ironically, of any domains/subdomains to have issues, I would have expected that one to, rather than the one that is.
Cheers
December 20, 2019 at 11:38 am #522546Hi identity,
Did you see any error in log? Please provide a site which is running with PHP 7.x. Also provide us FTP credentials.
Regards,
KiranDecember 20, 2019 at 2:33 pm #522568This reply has been marked as private.December 20, 2019 at 2:59 pm #522570This reply has been marked as private.December 20, 2019 at 4:23 pm #522588Those are memory errors. GD is listed as one of many plugins asking for memory that cannot be provided.
If you cannot upgrade your hosting to get more memory then you will need to disable some plugins so you don’t hit the memory limit.
See also https://wpgeodirectory.com/making-your-wordpress-site-slow/
December 20, 2019 at 5:04 pm #522604OK, I can look into all of that, but why would it be failing on one instance but not the other?
I guess it would make more sense to me if neither of the staging versions were working. While they aren’t identical, the other one that is working actually has more data, the same GD plugins, many of the other plugins, plus some that aren’t even on this version.
Thanks
December 20, 2019 at 5:32 pm #522610This does not sound like a GD specific issue, in any case. Those are good questions for your host or server admin.
December 20, 2019 at 5:54 pm #522615Ok, this all reminded me that memory limit for WP can be modified in wp-config.
I bummed it up to 256M and everything is running. Obviously will still need some attention, but at least glad things are working again for now.
Cheers
December 20, 2019 at 6:57 pm #522619FYI,
I was able to get PHP Compatibility Checker running now as well and nearly all plugins were marked as okay with 7.3 (main GD, GD Google Analytics, Invoicing, and Ninja Forms timed out unfortunately).
GD Event Manager did come back with these errors though:
geodir_event_manager/includes/class-geodir-event-api.php
————————————————————————————————————————
FOUND 2 ERRORS AFFECTING 2 LINES
————————————————————————————————————————
283 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
292 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
————————————————————————————————————————Cheers
December 23, 2019 at 9:27 am #522831Hi @identity,
Error you mentioned above from GD Event Manager plugin uses function same as WordPress. Do you see any other error expect those error?
Let us know page that you seen any functionality not working as expected.
Regards,
KiranJanuary 7, 2020 at 6:01 pm #524521Kiran,
I don’t know that anything isn’t working as expected. I’m assuming that the function may have been deprecated but may still be operating as it should…just that it is recommended not to and at some point may no longer function.
I don’t know specifically though…was just passing on the information.
Cheers
January 8, 2020 at 7:48 am #524599We used function what WordPress uses in posts API to prepare date for the response. I think this error may not affect any functionality.
Thanks,
Kiran -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket