I have moved a local Wordpress site from one computer to another.
Now the site loads on the new machine and I can switch to other pages in the site but except for the homepage I get many "Creating default object from empty value in..." warnings on every page.
What's causing this?
Thanks
Edit:
Adding a sample of the warnings I get:
Warning: Creating default object from empty value in C:\wamp\www\maps_en2\wp-includes\user.php on line 657
1 0.0007 249320 {main}( ) ..\index.php:0
2 0.0010 252888 require( 'C:\wamp\www\maps_en2\wp-blog-header.php' ) ..\index.php:17
3 0.0013 265520 require_once( 'C:\wamp\www\maps_en2\wp-load.php' ) ..\wp-blog-header.php:12
4 0.0017 277032 require_once( 'C:\wamp\www\maps_en2\wp-config.php' ) ..\wp-load.php:30
5 0.0027 363752 require_once( 'C:\wamp\www\maps_en2\wp-settings.php' ) ..\wp-config.php:90
6 0.2085 14508248 do_action( ) ..\wp-settings.php:298
7 0.2282 14746528 call_user_func_array ( ) ..\plugin.php:395
8 0.2282 14746560 _wp_admin_bar_init( ) ..\plugin.php:395
9 0.2293 14807256 WP_Admin_Bar->initialize( ) ..\admin-bar.php:34
10 0.2294 14808136 get_blogs_of_user( ) ..\class-wp-admin-bar.php:18