Hello @luislu,
Thank you for reporting this issue. The “Unexpected token ‘<‘” error typically indicates that the server is returning an HTML page (likely an error page) instead of the expected JSON response when saving settings.
To help diagnose this, could you please:
1. Check the actual server response:
- Open your browser’s Developer Tools (F12)
- Go to the Network tab
- Click “Update Settings” to reproduce the error
- Look for the request that failed (likely
update, calling the wp-json/spc/v1/settings/update route)
- Click on that request and share the contents of the Response tab
2. Enable WordPress debug logging:
- Add these lines to your
wp-config.php file:
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
- Try updating settings again
- Check
/wp-content/debug.log for any PHP errors and share them with us
I hope this helps!
Thank you!
Thread Starter
Diiamo
(@luislu)
v5.1.1 version fix this issue, thank you
Plugin Support
Kush
(@kushnamdev)
@luislu thank you for your confirmation.