Backend Strict Standards _getAssetParentId()

  • illovo
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 2 weeks ago - 10 years 2 weeks ago #4958 by illovo
PHP 5.4, Jommla 3.2.3, ZHGooglemap 5.5.2.4 and earlier
In nearly all BE edit views there is a meaage on top of the page like

Strict Standards: Declaration of ZhGoogleMapTableZhGoogleMap::_getAssetParentId() should be compatible with JTable::_getAssetParentId(JTable $table = NULL, $id = NULL) in ...administrator\components\com_zhgooglemap\tables\zhgooglemap.php on line 88

when error_reporting is activated.

As mentioned in the message this can be easily solved by renaming all 11 methods in folder administrator/components/com_zhgooglemap/tables/

from
protected function _getAssetParentId()

to
protected function _getAssetParentId(JTable $table = NULL, $id = NULL)
Last edit: 10 years 2 weeks ago by illovo.

Please Log in or Create an account to join the conversation.

More
10 years 2 weeks ago #4967 by Dima
OK, I'll check and fix in next release

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds

Donate


Go to top