• I have a page which shows a monthly total and yearly running total of the number of records added in a table. It has always been a really slow page to load (~30 seconds), but now trying to edit the page causes a critical error on the site, even in recovery mode. I can’t access it from the dashboard either. There is nothing else on the page. It has 12 shortcodes (as I gradually replace the codes each month with text to try and speed it up).

    The debugging log just shows the 12 queries:

    [09/28/26 1:10pm UTC]PDb_List::_setup_iteration list query: SELECT p.id, p.patient_name, p.last_name, p.urgent, p.species, p.referring_practice, p.referral_form_requested, p.referral_form_received, p.history_requested, p.history_received, p.are_there_x_rays, p.x_rays_requested, p.x_rays_received, p.other_history_requested, p.other_history_received, p.client_contacted, p.second_call_to_client, p.third_call_to_client, p.appointment, p.confirmation_email, p.registered, p.clinic, p.behavioural_issues, p.short_notice, p.which_vet, p.notes, p.date_recorded FROM wpxf_participants_database p WHERE p.type = “add-new-referral” AND p.date_recorded > FROM_UNIXTIME(1796083200 + TIMESTAMPDIFF(SECOND, FROM_UNIXTIME(1790601031), UTC_TIMESTAMP()) ) AND p.date_recorded < FROM_UNIXTIME(1798761600 + TIMESTAMPDIFF(SECOND, FROM_UNIXTIME(1790601031), UTC_TIMESTAMP()) ) ORDER BY p.date_recorded DESC

    and 3 messages about the timezone:

    [09/28/26 1:10pm UTC]ini_set(): Invalid date.timezone value ”, using ‘Europe/London’ instead

    I haven’t made any changes recently and all the pdb plugins are up to date.

    Any ideas what could be going on?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author rolandbarker

    (@rolandbarker)

    When a critical error happens on your WP site, an email is sent to the site admin with the details of the error. This can be helpful in determining how to fix the problem. My guess is that is it a php timeout on the script, there is a limit to the amount of time a script can run, and perhaps these queries are hitting that limit.

    It may be that your best approach to avoiding the problem is to add a new page to the site, then add your shortcodes one by one with the intention of replacing the malfunctioning page with a new page on the site.

    You may find there is a practical limit to the number of such shortcodes you can place on a page, depending on what your web server can handle. Setting up a cache for this page is probably a good idea, but this won’t help the issue of it bogging down when editing the page.

    Thread Starter lcp298

    (@lcp298)

    That was my thought actually. it’s strange that it has only happened now when there have been more shortcodes on there in the past.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.