Keyword

Warning in RSS feed module

More
3 years 7 months ago #160315 by Steve
Warning in RSS feed module was created by Steve
Started receiving this warning:
Warning: Declaration of JWElement::render() should be compatible with JFormField::render($layoutId, $data = Array) in /home/cb/public_html/modules/mod_jw_srfr/includes/elements/base.php on line 16

J3.6.5
PHP7.0.14

Sorry for the double post selected wrong cat first time.

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

More
3 years 7 months ago #160326 by Steve
Replied by Steve on topic Warning in RSS feed module
I got the message to go away by changing the render function on line 36 of base.php

Not to sure if this is the preferred fix but it appears to be all working.
function render($layoutId, $data = array())
		{
			return $this->getInput();
		}

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

More
3 years 7 months ago #160459 by Krikor Boghossian
Replied by Krikor Boghossian on topic Warning in RSS feed module
Hello Steve and sorry for the late reply.
Your solution seems spot-on.

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

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


Powered by Kunena Forum