Warning: Illegal string offset ‘slug’
-
I am trying to work with the API and and looking at Postman I see in an article they talk about a v3 of wpapp. So just as matter of interest I go to the rest api url of a local site and I change the version of the rest api from 2 to 3. I get a long list of warnings and I’m wondering is this how it should be? Should it not rather say ‘not found’ instead of printing out warning with variables and paths. Is that not a security risk?
The warning I get is this:
Warning: Illegal string offset ‘slug’ in /home/cal/Local Sites/wpsite/app/public/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/PerformanceIndicators/Controller.php on line 149
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Warning: Illegal string offset ‘slug’’ is closed to new replies.