Cannot edit pages

Hi,

I am having an issue where I cannot edit pages on my website.

I can log in without any issues. But when I choose to use the page editor to edit a page, it won’t open the page. The loading spinner starts spinning and just continues to spin until it eventually times out and leaves a blank white page.

The BeBuilder seems to be working at this point, but regular page editing is not working.

My site is www.bayoucityflyersrc.com.

I have been working with my hosting company and they say that it appears to be an issue with the theme. My theme is up-to-date, but they provided a screenshot of the functions.php file showing an error:

Here is the link to the screenshot: https://paste.websitehostserver.net/2026/02/27/Text_kJovgjOW6w.

I was also receiving a 403 error when trying to use the BeBuilder to edit pages. It gave me the 403 error when I would try to update the page. My hosting company found that WordFence was blocking the update. They fixed that for me, but it may have been related to this issue.

Please let me know if you need any additional info or if there is anything I can do to be able to edit my pages again.

Comments

  • Hi,

    What you sent indicates that the root cause is in your child theme:

    Please switch to the parent, and check if the problem persists.


    Thanks

  • Hi Phil,

    I apologize for the delay. I was traveling for a few days.

    I have changed to the parent theme and I am still having issues with editing pages. My theme and all of my plugins are up-to-date. I have tried turning all of the plugins off, but I still had the problem even with no plugins active. So it doesn't appear to be a conflict with plugins.

    Some of the pages will open and let me edit them, but when I try to save them, I get this message "Updating failed. The response is not a valid JSON response." These pages are: Hobby Shops, Safety and Field Rules, Contact Us.

    Other pages won't even open so that I can edit them. They just spin the loading spinner and then time out and leave a blank white page. These pages are: Home.

    Some pages work perfectly...they open, I edit and I save with no issues. These pages are: All of the pages under the media tab, All of the pages under the Members and Instructors tab, About, News Archive, BCF Calendar.

    I'd appreciate any help you can provide.


    Thanks so much,

    Debbie

  • Please, check the following article, and follow the tips from there.

    https://webspeedtools.com/fix-the-response-is-not-a-valid-json-response-wordpress/

    If none of them will help, please contact your hosting provider and ask to allow all the rules that ModSecurity blocks incorrectly.


    Thanks

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.