child page WP_post notice error fix