Issue with SLogina and J4

More
1 month 1 week ago #8999 by Budrys
Hello.

I noticed thwo issues with SLogin on my J4:

On frontpage:
Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /home/betty71/domains/betty71.pro-linuxpl.com/public_html/wduchu1/modules/mod_slogin/mod_slogin.php on line 81

On backend under users:

Fatal error
: Access level to SloginViewUsers::setDocument() must be public (as in class Joomla\CMS\MVC\View\AbstractView) in /xxxxxxxxxxxx/public_html/wduchu1/administrator/components/com_slogin/views/users/view.html.php on line 64 FatalError HTTP 500 Whoops, looks like something went wrong.Compile Error: Access level to SloginViewUsers::setDocument() must be public (as in class Joomla\CMS\MVC\View\AbstractView)
  • Exception
  • Stack Trace
Symfony\Component\ErrorHandler\Error\FatalError
in  /home/betty71/domains/betty71.pro-linuxpl.com/public_html/wduchu1/administrator/components/com_slogin/views/users/view.html.php  (line 64)
  1.     /**
  2.      * Method to set up the document properties
  3.      *
  4.      * @return void
  5.      */
  6.     protected function setDocument() 
  7.     {
  8.         $document = JFactory::getDocument();
  9.         $document->setTitle(JText::_('COM_SLOGIN'));
  10.     }
  11. }

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

Powered by Kunena Forum

Last from the forum

© 2010- JoomLine
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. joomline.net is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

email: This email address is being protected from spambots. You need JavaScript enabled to view it.