robskidmore
Forum Replies Created
-
Found a solution. All thanks to Ryan McCue for pointing me to it.
You can perform the query by
wp-json/wp/v2/custom-post-type?filter[taxonomy]=termMore info from Ryan
Assuming it’s still using
WP_REST_Posts_Controller, thenfilterwill be registered and allow any public query variablesMore on query_var and register_taxonomy here. It defaults to the taxonomy name so unless you specifically set it you won’t have to worry about it.
You’ll have to scroll to find it. I couldn’t link directly to it.
Also make sure you include the brackets. I think I made that mistake the first time.
We are already redirecting www to non-www.
Found our issue.
Long story. We are using W3 Total Cache and for some reason we had a cached version of the www site. When a user would visit the www they were served the cached version and the errors. Since we changed to non-www W3 won’t clear the old cache from admin. I did it manually and now everything looks good.
Must have been a problem in an older version of the plugin that was cached and has been fixed since.
Confirmed. I am getting the same error but only when I try to use the www version of our domain. Our WordPress Address and Site Address are set to non-www. But this is still a real problem since not everyone visiting the site will know to leave off the www.
Full error below.
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /wp-includes/functions.php:3008) in /wp-content/plugins/custom-sidebars/inc/class-custom-sidebars-explain.php on line 55 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /wp-includes/functions.php:3008) in /wp-content/plugins/custom-sidebars/inc/class-custom-sidebars-explain.php on line 55 Warning: Cannot modify header information - headers already sent by (output started at /wp-includes/functions.php:3008) in /wp-includes/pluggable.php on line 896Forum: Fixing WordPress
In reply to: Mailto link get the root url added to itNevermind the Nevermind. still broke.
Forum: Fixing WordPress
In reply to: Mailto link get the root url added to it🙂 Nevermind. Fixed it.