2018年11月16日
- 服务器5.4升级到7.1版本
2018年11月19日
- 后台登陆 500错误
- wp-config.php文件修改
define('WP_DEBUG', true);
- 提示function.php 有错误
- 注释掉function.php中错误代码
$sh_gmaps = array(
'mapaddress' => ($GLOBALS['sh_redux']['gmaps-address']),
// 'maplatitude' => ($GLOBALS['sh_redux']['gmaps-latitude']),
// 'maplongitude' => ($GLOBALS['sh_redux']['gmaps-longitude']),
'mapicon' => ($GLOBALS['sh_redux']['gmaps-icon']['url']),
'mappopover' => ($GLOBALS['sh_redux']['gmaps-popover']),
'mapiconwidth' => ($GLOBALS['sh_redux']['gmaps-icon']['width']),
'mapiconheight' => ($GLOBALS['sh_redux']['gmaps-icon']['height']),
'mapzoom' => ($GLOBALS['sh_redux']['gmaps-mapzoom'])
);
- 前端提示
Notice: Use of undefined constant left - assumed 'left' in /var/www/html/wordpress/wp-content/themes/starhotel/home.php on line 47
- 暂未解决
- 后台登陆报错
Fatal error: Uncaught Error: [] operator not supported for strings in /home/wwwroot/www.wmsoho.com/wp-content/plugins/revslider/includes/framework/base-admin.class.php:72 Stack trace: #0 /home/wwwroot/www.wmsoho.com/wp-content/plugins/revslider/admin/revslider-admin.class.php(572): RevSliderBaseAdmin::addMetaBox('Revolution Slid...', '', Array, NULL) #1 /home/wwwroot/www.wmsoho.com/wp-content/plugins/revslider/admin/revslider-admin.class.php(73): RevSliderAdmin->addSliderMetaBox() #2 /home/wwwroot/www.wmsoho.com/wp-content/plugins/revslider/admin/revslider-admin.class.php(44): RevSliderAdmin->init() #3 /home/wwwroot/www.wmsoho.com/wp-content/plugins/revslider/revslider.php(162): RevSliderAdmin->__construct('/home/wwwroot/w...') #4 /home/wwwroot/www.wmsoho.com/wp-settings.php(303): include_once('/home/wwwroot/w...') #5 /home/wwwroot/www.wmsoho.com/wp-config.php(87): require_once('/home/wwwroot/w...') #6 /home/wwwroot/www.wmsoho.com/wp-load.php(37): req in /home/wwwroot/www.wmsoho.com/wp-content/plugins/revslider/includes/framework/base-admin.class.php on line 72
RevSlider插件的第72行self::$arrMetaBoxes[] = $box;
有问题,发现插件开发者已经给出解决方案。
- 修改/wp-content/plugins/revslider/includes/framework/base-admin.class.php文件
将第21行
private static $arrMetaBoxes = ”; //option boxes that will be added to post
改为private static $arrMetaBoxes = array(); //option boxes that will be added to post
————————————
作者:wmsoho
来源:CSDN
原文:https://blog.csdn.net/wmsoho/article/details/78940013
- 可以正常访问后台了
- 后台插件有很多更新提示
2018年11月20日
- 新增了文章,发布时错误提示
Not Found The requested URL /wordpress/imagegallery/26/ was not found on this server.
- 在服务器/etc/httpd/conf找到httpd.conf配置文件,新增
LoadModule rewrite_module modules/mod_rewrite.so
修改AllowOverride None
属性
<Directory />
AllowOverride All
Require all denied
</Directory>
<Directory "/var/www">
AllowOverride All
# Allow open access:
Require all granted
</Directory>
网友评论