Unable to Upgrade PHP Beyond 5.6!!

This topic contains 14 replies, has 3 voices, and was last updated by  Kiran 4 years, 4 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #522475

    identity
    Lifetime Member
    Post count: 445

    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!

    #522476

    identity
    Lifetime Member
    Post count: 445
    This reply has been marked as private.
    #522478

    Alex Rollin
    Moderator
    Post count: 27815

    Why did you have to roll back?

    #522479

    identity
    Lifetime Member
    Post count: 445

    I 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

    #522546

    Kiran
    Moderator
    Post count: 7069

    Hi 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,
    Kiran

    #522568

    identity
    Lifetime Member
    Post count: 445
    This reply has been marked as private.
    #522570

    identity
    Lifetime Member
    Post count: 445
    This reply has been marked as private.
    #522588

    Alex Rollin
    Moderator
    Post count: 27815

    Those 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/

    #522604

    identity
    Lifetime Member
    Post count: 445

    OK, 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

    #522610

    Alex Rollin
    Moderator
    Post count: 27815

    This does not sound like a GD specific issue, in any case. Those are good questions for your host or server admin.

    #522615

    identity
    Lifetime Member
    Post count: 445

    Ok, 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

    #522619

    identity
    Lifetime Member
    Post count: 445

    FYI,

    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

    #522831

    Kiran
    Moderator
    Post count: 7069

    Hi @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,
    Kiran

    #524521

    identity
    Lifetime Member
    Post count: 445

    Kiran,

    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

    #524599

    Kiran
    Moderator
    Post count: 7069

    We 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

Viewing 15 posts - 1 through 15 (of 15 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket