Keyword

Warning in RSS feed module

  • Steve
  • Steve's Avatar Topic Author
  • Offline
  • Junior Member
More
7 years 1 month 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.

  • Steve
  • Steve's Avatar Topic Author
  • Offline
  • Junior Member
More
7 years 1 month 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.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 1 month 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.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum