Issue:
Google search console shows the warning: Invalid object type for field “brand”.
Solution:
Most of websites’s structured data show the schema this way:
"brand": {
"@type": "Thing",
"name": "MyBrand" },
but Google wants us to show like this:
"brand": {
"@type": "Brand",
"name": "MyBrand" },
Therefore, we need to change the word from "Thing" to "Brand" to fix this error.
For anyone using plugin "Customer Reviews for WooCommerce", we can fix this by editing "class-ivole-structured-data.php” as follows:
- On line 91, we change the word from “Thing” to “Brand”
After saving the file, we need to clear cache and its done!
Note: Currently, if we update the plugin, we need to manually update this file.