Can not save php blocks , 403 error
-
Hi,
I am unable to update or save any blocks. Console gives the following errors on save
Uncaught DOMException: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'https://webadresss.com/wp-admin/worker-php.js' failed to load POST https://webadress.com/wp-json/lazy-blocks/v1/update-block-data/?_locale=user 403 {code: "invalid_json", message: "The response is not a valid JSON response."}
Sometimes the error looks like this:
Response?{type: "basic", url: "https://webadress.com/wp-json/lazy-blocks/v1/update-block-data/?_locale=user", redirected: false, status: 403, ok: false,?…}
I’ve tried to disable all plugins and nothing seems to solve this.
This error occurs regardless of the content of the block, even with a basically empty php block, like for instance
<?php echo 'test'; ?>
Really hoping for some help.
Best
-Espen
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Can not save php blocks , 403 error’ is closed to new replies.