[英]SobiPro - Fatal error while submitting form in Joomla 3.7.2
I have a customer who's using the plugin SobiPro to provide a directory where his users can submit work orders, and his customers can then bid on them. 我有一个客户正在使用插件SobiPro提供一个目录,他的用户可以在该目录中提交工作订单,然后他的客户可以对其进行投标。 He recently had his Joomla installation updated, which then broke his SobiPro setup.
他最近更新了他的Joomla安装,然后中断了他的SobiPro安装。
i have updated sobipro to the latest version, and running the compatibility check seems that everything is fine. 我已经将sobipro更新到最新版本,并且运行兼容性检查似乎一切正常。 However, when i try to submit a form, i get this error: Fatal error: Call to a member function data() on null in (Joomla root)/components/com_sobipro/lib/cms/joomla_common/base/lang.php on line 366
但是,当我尝试提交表单时,出现以下错误:致命错误:在(Joomla根目录)/components/com_sobipro/lib/cms/joomla_common/base/lang.php上的null上调用成员函数data() 366行
anyone familiar with sobipro, who knows this error? 熟悉sobipro的人,谁知道此错误?
thanks in advance. 提前致谢。
Turns out that after a thorough search in the database, i noticed that somehow most of the primary keys of each table was missing, so i exported all sobipro tables, and edited each table definition with primary key and auto increments where it was missing. 事实证明,在数据库中进行彻底搜索之后,我注意到每个表的大部分主键都丢失了,因此我导出了所有sobipro表,并在缺少表的地方使用主键和自动增量来编辑每个表定义。 Furthermore i cleaned all duplicates, and after that it was working.
此外,我清理了所有重复项,然后工作了。 How the database missed the primary keys, i do not know though.
我怎么不知道数据库是如何错过主键的。 maybe as a consequence of a faulty joomla upgrade.
可能是因为joomla升级错误。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.