joomla-projects / webservices

Webservices working group repository
GNU General Public License v2.0
16 stars 9 forks source link

PHP error in WebserviceModel #28

Closed chrisdavenport closed 8 years ago

chrisdavenport commented 8 years ago

In Administrator -> Components -> Webservices, edit a webservice entry, then click on Save (or Save & Close, etc.)...

PHP Catchable fatal error: Argument 1 passed to JModelBase::setState() must be an instance of Joomla\Registry\Registry, string given, called in [joomlaRoot]/administrator/components/com_webservices/Webservices/Model/WebserviceModel.php on line 66 and defined in [joomlaRoot]/libraries/joomla/model/base.php on line 63

fastslack commented 8 years ago

@chrisdavenport Try applying this patch https://github.com/joomla-projects/webservices/pull/29. That issues come because current JModelForm is not compatible with the new MVC. A new FormModel is needed.

fastslack commented 8 years ago

@chrisdavenport this issue is already fixed i think, we can close this

chrisdavenport commented 8 years ago

Closing. Thanks Matias.