Failed to load resource: the server responded with a status of 403 (forbidden php)

I am experiencing the same, or similar problem, with the Avia page builder in Enfold.

WordPress version 4.8.1
Enfold version 4.1.2
PHP version 7.0

Symptom:
Open existing web page that contains existing text boxes. The webpage looks fine initially when viewed live or in preview mode. Try to edit the text block in Enfold Advanced Layout Editor and nothing shows up in the edit box or in the new preview panel to the right. Editing the same using the default editor also shows nothing (i.e. no text or html is visible). Note that I can create a new text box on the same problem webpage, then save it, then edit it as expected — that works fine. It seems to be something related to saving the webpage and then revisiting it to edit it a day or more later. The problem occurs only on some of the text boxes on the page. These are “normal” text boxes, no links or fancy formatting.

Attempts at fixing this:
I deactivated all my plugins and the problem remains.
Reloaded the page and problem remains.
Flushed browser cache (Shift + refresh in Chrome) and problem remains.
Tried different versions of PHP, problem remains…
Contacted my hosting service and they see no access restrictions or problems on their end of things…

Read many posts on the Kries support forums about the same problem, occurring for what seems like many years, and implemented suggested fixes, …, problem remains…

The stack trace is:
load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,underscore,utils,backbone,wp-util,&load[]=wp-backbone,media-models,plupload,wp-plupload,mediaelement,wp-mediaelement,media-views,jquery-ui-position,jquery-ui-menu,wp-a11y&load[]=,jquery-ui-autocomplete,quicktags,jquery-ui-tooltip&ver=4.8.1:4 POST https://inlightofnature.com/wp-admin/admin-ajax.php 403 (Forbidden)
send @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,underscore,utils,backbone,wp-util,&load[]=wp-backbone,media-models,plupload,wp-plupload,mediaelement,wp-mediaelement,media-views,jquery-ui-position,jquery-ui-menu,wp-a11y&load[]=,jquery-ui-autocomplete,quicktags,jquery-ui-tooltip&ver=4.8.1:4
ajax @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,underscore,utils,backbone,wp-util,&load[]=wp-backbone,media-models,plupload,wp-plupload,mediaelement,wp-mediaelement,media-views,jquery-ui-position,jquery-ui-menu,wp-a11y&load[]=,jquery-ui-autocomplete,quicktags,jquery-ui-tooltip&ver=4.8.1:4
fetch_ajax_content @ avia-modal.js?ver=0.9.5:165
create_html @ avia-modal.js?ver=0.9.5:146
set_up @ avia-modal.js?ver=0.9.5:46
$.AviaModal @ avia-modal.js?ver=0.9.5:35
(anonymous) @ avia-builder.js?ver=0.9.5:254
dispatch @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,underscore,utils,backbone,wp-util,&load[]=wp-backbone,media-models,plupload,wp-plupload,mediaelement,wp-mediaelement,media-views,jquery-ui-position,jquery-ui-menu,wp-a11y&load[]=,jquery-ui-autocomplete,quicktags,jquery-ui-tooltip&ver=4.8.1:3
r.handle @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,underscore,utils,backbone,wp-util,&load[]=wp-backbone,media-models,plupload,wp-plupload,mediaelement,wp-mediaelement,media-views,jquery-ui-position,jquery-ui-menu,wp-a11y&load[]=,jquery-ui-autocomplete,quicktags,jquery-ui-tooltip&ver=4.8.1:3

This error appeared only yesterday. When I try to do anything in admin except adding posts/pages, there is a white screen and chrome console reveals. I can't update wordpress core, can't update/install/delete plugins ...

Failed to load resource: the server responded with a status of 431 ()

No idea what's the issue and how to fix it. Thanks for helping out!

UPDATE - this was a Chrome issue - after I cleared my cookies, everything works OK

Could somebody explain it to me? Thank you!

Solutions

here is explanation of the 431 error.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/431

Similar questions

Failed to load resource: the server responded with a status of 409

After an automatic WordPress update the plugin forms (Contact Form 7) now display a slash just below them and are no longer firing the wpcf7mailsent listener event, so it is no longer being redirected to the thanks page after submitting the form. This error: “the server responded with a status of 409 or also known as net :: ERR_ABORTED 409” from wh...

AJAX jQuery post frontend returning failed to load resource status 400

I've created a custom post template for a front-end question bank/quiz in which I have two elements: Code in functions.php The code I have in my custom post template is as following: I have a separate js file stored in my-child-theme/js/question-refresh.js I think I have isolated where the issue is coming from. I have obviously done something wrong...

Wordpress + Vagrant : The SSH command responded with a non-zero exit status

I am following this tutorial to set up Wordpress with vagrant. But it does not seem to work. I get the following: and then: I do not know what this means, really, or where the problem could lie. Vagrant does work though, I have been able to start up a vagrant box before without errors. It is just in the context of the above mentioned tutorial that ...

How to fix WordPress ajax request responded with a status of 400

I spend a lot of time searching for a solution to this issue. I looked on google and stackexchange but didn't get the answer. So I am looking for the solution is while making an ajax request through my plugin(that I am developing) i am getting this 400 status error. I don't know why i am getting this? Let me know why i am getting this error; Thank ...

Also ask

How do I fix failed to load the resource The server responded with a status 403 Forbidden?

Check the Requested URL The most common cause of a 403 Forbidden Error is simply inputting an incorrect URL. As discussed before, many tightly secured web servers disallow access to improper URLs. This could be anything from accessing a file directory to accessing a private page meant for other users.

How do I fix 403 forbidden access is denied?

How to Fix the 403 Forbidden Error.
Check the . htaccess File. ... .
Reset File and Directory Permissions. ... .
Disable WordPress Plugins. ... .
Upload an Index Page. ... .
Edit File Ownership. ... .
Verify the A Record. ... .
Scan for Malware. ... .
Clear Your Web History/Cache..

What are the reasons for 403 forbidden?

The 403 Forbidden Error happens when the web page (or another resource) that you're trying to open in your web browser is a resource that you're not allowed to access. It's called a 403 error because that's the HTTP status code that the webserver uses to describe that kind of error.

How do I access 403 forbidden sites?

How to Fix the 403 Forbidden Error.
Check for URL errors and make sure you're specifying an actual web page file name and extension, not just a directory. ... .
Clear your browser's cache. ... .
Log in to the website, assuming it's possible and appropriate to do so..