[英]Errors after Migrating from Localhost to Live Server - Strict Standards & Header Info
I've been left scratching my head this evening. 今晚我一直在挠头。 I have a site on a localhost that is working fine, however now when I am trying to migrate it to a live host I'm getting a few issues.
我在本地主机上有一个工作正常的站点,但是现在当我尝试将其迁移到活动主机时,遇到了一些问题。
Along with the White Screen of Death, the 3 error messages that are currently coming up look like the following: 伴随着死亡白屏,当前出现的3条错误消息如下所示:
Strict Standards: Declaration of uncode_slider::contentAdmin() should be compatible with WPBakeryShortCode::contentAdmin($atts, $content = NULL) in /home/website/public_html/wordpress/wp-content/plugins/uncode-core/vc_extend/init.php on line 631
严格标准:uncode_slider :: contentAdmin()的声明应与/ home / website / public_html / wordpress / wp-content / plugins / uncode-core / vc_extend /中的WPBakeryShortCode :: contentAdmin($ atts,$ content = NULL)兼容第631行的init.php
Warning: Cannot modify header information - headers already sent by (output started at /home/website/public_html/wordpress/wp-content/plugins/uncode-core/vc_extend/init.php:631) in /home/website/public_html/wordpress/wp-login.php on line 390
警告:无法修改标头信息-已发送的标头(输出始于/ home / website / public_html /中的(从/home/website/public_html/wordpress/wp-content/plugins/uncode-core/vc_extend/init.php:631开始)第390行的wordpress / wp-login.php
Warning: Cannot modify header information - headers already sent by (output started at /home/website/public_html/wordpress/wp-content/plugins/uncode-core/vc_extend/init.php:631) in /home/website/public_html/wordpress/wp-login.php on line 403
警告:无法修改标头信息-已发送的标头(输出始于/ home / website / public_html /中的(从/home/website/public_html/wordpress/wp-content/plugins/uncode-core/vc_extend/init.php:631开始)第403行的wordpress / wp-login.php
I've just looking for other questions/answers but can't seem to get the fix. 我只是在寻找其他问题/答案,但似乎无法解决问题。
It seems the 2 elements clashing are my theme ( UnCode
) and the Visual Composer plugin. 似乎发生冲突的两个元素是我的主题(
UnCode
)和Visual Composer插件。 Just wondering if anyone has encountered this before and how I can hopefully get around this without having to forfeit the theme or plugin. 只是想知道以前是否有人遇到过这个问题,以及我如何希望不必放弃主题或插件就可以解决这个问题。 It works perfectly locally!
它在本地完美运行!
First check your database under wp_options and check that you have changed siteurl and home to the new url. 首先在wp_options下检查数据库,并检查是否已将siteurl和home更改为新的URL。
Try to deactivate your plugins by renaming them in plugins folder until you can access the wp-admin page. 尝试通过在plugins文件夹中重命名插件来停用它们,直到可以访问wp-admin页面。
Then go to Settings -> Permalinks and click Save Changes. 然后转到设置->永久链接,然后单击保存更改。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.