On warning (Strict Standards) and optional modules

More
9 years 7 months ago #24454 by suiato
Hi

Successfully installed 1.mod_vm_rssgenerator1.2.zip, and it's working fine. But, in the cpanel, the following message is shown:

Virtuemart RSS feeds Generator
Strict Standards: Non-static method modVmRssGeneratorHelper::getCurrency() should not be called statically in /var/www/joomla_arigatosama.net/administrator/modules/mod_vm_rssgenerator/mod_vm_rssgenerator.php on line 11 Strict Standards: Only variables should be assigned by reference in /var/www/joomla_arigatosama.net/administrator/modules/mod_vm_rssgenerator/helper.php on line 12


Please give me information on how to fix it.

Also, I'll appreciate some more information on the two optional modules (i.e., 2-optional.mod_vm_catrss1.1.zip and 3.optional.plg_system_vm_rss_generator1.1.zip) because their documentation seems not to be available yet. What do they do, and what'd be better if they are installed?

Environment: PHP 5.3.10-1ubuntu3.13, Joomla! 2.5.24, VirtueMart 2.6.10.

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

More
9 years 7 months ago #24455 by suiato
Well, I dealt with the first one by changing
public function getCurrency()
to
public static function getCurrency()
in helper.php.
:)

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

More
9 years 7 months ago #24456 by suiato
And the second one is gone by changing
$db = &JFactory::getDBO();
to
$db = JFactory::getDBO();
in helper.php
:)

Hope these changes will be reflected in a new version.

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

Time to create page: 0.327 seconds
Powered by Kunena Forum
Disclaimer: Nordmograph is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.