I just did a fresh install of a site, and am getting errors on a custom post type page.
I looked at the first error, which showed me how to create the admin menus, Warning: urlencode() expects parameter 1 to be string, object given in 125 and Catchable fatal error: Object of class WP_Error could not be converted to string in 129 of inc/wpseo-non-ajax-functions.php. I then went to the settings, which I had not touched yet, and set the canonical to http. This removed those errors, and gave me a new one Catchable fatal error: Object of class WP_Error could not be converted to string in at line 373 of frontend/class-frontend.php.
Any help is appreciated as always.
– Jeff Sebring
- The topic ‘[Plugin: WordPress SEO by Yoast] Error with canonical and http settings’ is closed to new replies.