Strict Standards error message

8 years 9 months ago #2538 by tastymouse
Strict Standards error message was created by tastymouse
Hi, I get an error: Strict Standards: Declaration of StorelocatorTablelocation::_getAssetParentId() should be compatible with JTable::_getAssetParentId(JTable $table = NULL, $id = NULL) in /domains//administrator/components/com_storelocator/tables/location.php on line 228

Any idea what causes this?

Please Log in to join the conversation.

More
8 years 9 months ago - 8 years 9 months ago #2542 by sysgenmedia
Replied by sysgenmedia on topic Strict Standards error message
Looks like you have strict standards enabled, and new version of Joomla has updated this function definition. We will patch in the next version.

In the meantime, add the word JTable to the beginning of the $table variable in the function reference, so it looks like this:
    protected function _getAssetParentId(JTable $table = null, $id = null){

You will need to update this in each of the 4 php files in that tables folder.
Last edit: 8 years 9 months ago by sysgenmedia.

Please Log in to join the conversation.

More