<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>Not working after upgrading to PHP7.4

[ad_1]

Replies: 1

Hi, My web host updated my PHP from 7.2 -> 7.4 last week and ever since I am unable to POST using my JWT Token. I can still get a token but when posting I get the following error:
{‘code’: ‘rest_cannot_create’,
‘message’: ‘Sorry, you are not allowed to create posts as this user.’,
‘data’: {‘status’: 401}
}
It has worked fine for years, none of my code has changed.

Thanks, any help would be appriciated.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer