简体   繁体   English

WAMP和WordPress-安装插件后出现问题

[英]WAMP & WordPress - Having issues after installing plugins

I am using WAMP (Apache 2.2.17, PHP 5.4.3) & WordPress 3.4.2. 我正在使用WAMP(Apache 2.2.17,PHP 5.4.3)和WordPress 3.4.2。

Everything was fine until I started to add and activate plugins now I get different sort of errors on the front-end/Admin eg 一切都很好,直到我开始添加和激活插件,现在我在前端/管理员上遇到了各种错误,例如

"Notice: Undefined index: plugin_version in C:\\repo\\wpdev\\wp-content\\plugins\\wp-rss-multi-importer\\inc\\upgrade.php on line 11" “注意:未定义的索引:C:\\ repo \\ wpdev \\ wp-content \\ plugins \\ wp-rss-multi-importer \\ inc \\ upgrade.php在第11行的plugin_version”

And

"Warning: Illegal string offset 'feedslug' in C:\\repo\\wpdev\\wp-content\\plugins\\wp-rss-multi-importer\\inc\\rss_feed.php on line 21." “警告:第21行的C:\\ repo \\ wpdev \\ wp-content \\ plugins \\ wp-rss-multi-importer \\ inc \\ rss_feed.php中的字符串偏移'feedslug'不合法。

IF I deactivate the plugins everything seems to be fine. 如果我停用插件,一切似乎都很好。 I have installed WAMP & WP 2X. 我已经安装了WAMP&WP 2X。 The plugins work fine on MediaTemple. 该插件可以在MediaTemple上正常工作。 The error messages vary depending on the plugins. 错误消息因插件而异。 Search Google and came up empty. 搜索Google并显示为空。

These are Notices and Warnings, which optionally show up depending on your PHP error reporting settings. 这些是注意事项和警告,根据您的PHP错误报告设置有选择地显示。 Find your php.ini and set the following: 找到您的php.ini并设置以下内容:

error_reporting  =  E_ALL & ~E_NOTICE

Note, you can find your php.ini location using the phpinfo(); 注意,您可以使用phpinfo();找到您的php.ini位置phpinfo(); function. 功能。

According to the author of the plugin you are using, while waiting for an update you can get rid of that error by commenting out these lines in inc/rss_feed.php, eg 根据您使用的插件的作者的说法,在等待更新时,可以通过在inc / rss_feed.php中注释掉这些行来摆脱该错误,例如

//if (!empty($feed_options)){

//add_feed($feed_options['feedslug'], 'rssmi_feed');

//}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM