我正在尝试通过ftp更新wordpress网站的php版本。我已经下载并上传了新版本的wordpress和使用的插件。但是,如果现在访问网站,则会出现以下错误:
警告:/home/e-fashionshoots.com/public_html/wp-content/plugins/theme-my-login/includes/class-theme-my-login.php中第1073行的非法字符串偏移“ instance” < / p>
警告:/home/e-fashionshoots.com/public_html/wp-content/plugins/theme-my-login/includes/class-theme-my-login.php中第1077行的字符串偏移量“ instance”非法< / p>
有人可以帮助我吗?这是插件代码中的问题规则:
df['val'] = pd.cut(df['Start'].astype(np.int64), bins=periods)
But it get the following
//python2.7/site-packages/pandas/core/indexes/interval.pyc in get_loc(self, key, method)
705 return self._engine.get_loc_interval(left, right)
706 else:
--> 707 return self._engine.get_loc(key)
708
709 def get_value(self, series, key):
pandas/_libs/intervaltree.pxi in pandas._libs.interval.IntervalTree.get_loc (pandas/_libs/interval.c:9756)()