Php 警告:非法字符串偏移量';实例';在Wordpress中
我正在尝试通过ftp更新wordpress网站的php版本。我已经下载并上传了新版本的wordpress和使用的插件。但如果我现在访问该网站,我会得到以下错误: 警告:第1073行/home/e-fashionshoots.com/public_html/wp-content/plugins/theme-my-login/includes/class-theme-my-login.php中的非法字符串偏移量“instance” 警告:第1077行/home/e-fashionshoots.com/public_html/wp-content/plugins/theme-my-login/includes/class-theme-my-login.php中的非法字符串偏移量“instance” 有人能帮我吗?这是插件代码中的问题规则:Php 警告:非法字符串偏移量';实例';在Wordpress中,php,wordpress,Php,Wordpress,我正在尝试通过ftp更新wordpress网站的php版本。我已经下载并上传了新版本的wordpress和使用的插件。但如果我现在访问该网站,我会得到以下错误: 警告:第1073行/home/e-fashionshoots.com/public_html/wp-content/plugins/theme-my-login/includes/class-theme-my-login.php中的非法字符串偏移量“instance” 警告:第1077行/home/e-fashionshoots.com
/**
* Instantiates an instance
*
* @since 6.3
* @access public
*
* @param array|string $args Array or query string of arguments
* @return object Instance object
*/
public function load_instance( $args = '' ) {
$args['instance'] = count( $this->loaded_instances );
$instance = new Theme_My_Login_Template( $args );
if ( $args['instance'] == $this->request_instance ) {
$instance->set_active();
$instance->set_option( 'default_action', $this->request_action );
}
$this->loaded_instances[] = $instance;
return $instance;
}
这里也有同样的问题,有办法吗?