Keyword

Warning in RSS feed module

More
2 years 11 months ago #160315 by Steve
Steve created the topic: Warning in RSS feed module
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
2 years 11 months ago #160326 by Steve
Steve replied the 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
2 years 11 months ago #160459 by Krikor Boghossian
Krikor Boghossian replied the 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