Sie haben Fragen rund um WordPress, Websites, Online Marketing? Unser Team und die Community helfen. Eröffnen Sie ein Nutzerkonto, um bei Antworten informiert zu werden!
0 Punkte
145 Aufrufe
A problem with Thrive Architect:

Within Dashboard > Smart Site > Global Fields I am trying to save a first field, e.g. a simple text field (company name).

Trying to save, I get a 403 error /wp-json/tss/v1/fields/1.

VM3762:1 PUT 403
(anonymous) @ VM3762:1
send @ jquery.js?ver=1.12.4-wp:1
ajax @ jquery.js?ver=1.12.4-wp:1
b.ajax @ backbone.min.js?ver=1.2.3:1
b.sync @ backbone.min.js?ver=1.2.3:1
sync @ thrive-dashboard/inc…min/js/models.js:86
save @ backbone.min.js?ver=1.2.3:1
save @ thrive-dashboard/inc…in/js/modals.js:233
dispatch @ jquery.js?ver=1.12.4-wp:1
r.handle @ jquery.js?ver=1.12.4-wp:1

The next thing on my browser console after this 403 is:

/wp-admin/admin.php?page=tve_dash_smart_site#global_fields:1 Uncaught SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse (<anonymous>)
at Object.eval (thrive-dashboard/inc/smart-site/assets/admin/js/modals.js:251)
at i (jquery.js?ver=1.12.4-wp:1)
at Object.fireWith [as rejectWith] (jquery.js?ver=1.12.4-wp:1)
at x (jquery.js?ver=1.12.4-wp:1)
at XMLHttpRequest.c (jquery.js?ver=1.12.4-wp:1)

But there is no mod_security event code in my logs. Sometimes I have to switch off a mod_security role, but in this case, it seems to be an even more basic topic.

I also checked what was happening on the CloudFlare WAF level, this was not the reason for the 403.

Kind regards,

in Websites 15.7k Punkte

1 Antwort

0 Punkte
Beste Antwort
//// Update: I figured it out. My settings were disallowing PUT requests. There is no other plugin or feature on my whole WordPress site using these.

VM3762:1 <strong>PUT</strong> 403

In this case, it was a conflict with security settings in the 7G Firewall module for Apache.

    RewriteCond %{REQUEST_METHOD} ^(connect|debug|delete|move|trace|track) [NC]

After removing the put here from the RewriteCond, Thrive Architect global fields saving began to work.
15.7k Punkte