Is this a PHP issue? Undefined variable: rawHTML error on WP migration

I get a TON of these errors when I migrated my WP to a VirtualBox Centos machine:

Undefined variable: rawHTML

Read More

Is my PHP not set up correctly? How can I tell? I’m quite lost because most of the site appears to be normal.

I’m migrating from a PHP 5.2 to a 5.3 Centos server.

Additional errors include:

Notice: has_cap was called with an argument that is deprecated since version 2.0!

and

Notice: wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or init hooks.

Any help is greatly appreciated

Related posts

Leave a Reply

1 comment

  1. Possibly that error has always been there, but PHP on the old machine was set to not show errors at Notice level. Compare the values for error_reporting in php.ini on the two machines.

    It may also be that now you have display_errors set to on, whereas the old machine sent the to the log file, or didn’t report them.