Questions tagged [wp-error]

`WP_Error` is a PHP class used by the WordPress core for error reporting.

Filter by
Sorted by
Tagged with
0
votes
1answer
14k views

Object of class WP_Error could not be converted to string

After deleting some categories (shouldn't have done this), I get the following error Catchable fatal error: Object of class WP_Error could not be converted to string in [FILENAME] on line 45 ...
1
vote
1answer
3k views

Handling nonce generation in AJAX registration process

I am currently working on a multi-steps registration system, based on the new Wordpress Rest API and I got an issue related to the nonce generation and verifying. My first step is to ask the user ...