Tips and tricks on developing web sites

Common WordPress Errors

Publishing failed. The response is not a valid JSON response.

Change your Permalinks to Plain (Settings->Permalink Settings->Common Settings Plain)

Notice: Trying to get property of non-object in…

You are likely trying to run your own php function before WordPress has completely loaded. You can override that by loading it as an action with init in at the end (or anywhere) of your functions.php file:

add_action('init', 'my_function');
function my_function () { ...code... };