doufang8282 2013-07-22 15:51
浏览 65
已采纳

在本地计算机之间移动WP站点后发出警告

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
  • 写回答

3条回答 默认 最新

  • duanbage2161 2013-08-25 09:24
    关注

    Problem was different wamp versions.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥20 delta降尺度方法,未来数据怎么降尺度
  • ¥15 c# 使用NPOI快速将datatable数据导入excel中指定sheet,要求快速高效
  • ¥15 再不同版本的系统上,TCP传输速度不一致
  • ¥15 高德地图点聚合中Marker的位置无法实时更新
  • ¥15 DIFY API Endpoint 问题。
  • ¥20 sub地址DHCP问题
  • ¥15 delta降尺度计算的一些细节,有偿
  • ¥15 Arduino红外遥控代码有问题
  • ¥15 数值计算离散正交多项式
  • ¥30 数值计算均差系数编程