Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Support / AdsManager Support / Some "Notice: Undefined variable" problems

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

Some "Notice: Undefined variable" problems

More
10 years 9 months ago #18073 by Matzehf
Hello, i have some problems with the search moduls.
On my Page i see 2 notice on normal search at Top.

No.1.:
Notice: Undefined variable: searchLabel in D:\xampp\htdocs\ly_quick\templates\adsclarity\html\mod_adsmanager_search\default.php on line 33
Call Stack
# Time Memory Function Location
1 0.2020 136680 {main}( ) ..\index.php:0
2 0.4390 2427176 JApplicationCms->execute( ) ..\index.php:45
3 1.1301 9283608 JApplicationSite->render( ) ..\cms.php:258
4 1.1311 9284000 JApplicationCms->render( ) ..\site.php:745
5 1.1411 9418160 JDocumentHTML->render( ) ..\cms.php:1059
6 1.1411 9418168 JDocumentHTML->_renderTemplate( ) ..\html.php:477
7 1.8151 11795368 JDocumentHTML->getBuffer( ) ..\html.php:697
8 1.8151 11795560 JDocumentRendererModules->render( ) ..\html.php:411
9 1.8161 11796000 JDocumentRendererModule->render( ) ..\modules.php:43
10 1.8161 11798248 JModuleHelper::renderModule( ) ..\module.php:103
11 1.8211 11843024 include( 'D:\xampp\htdocs\ly_quick\modules\mod_adsmanager_search\mod_adsmanager_search.php' ) ..\helper.php:190
12 1.8291 11938520 require( 'D:\xampp\htdocs\ly_quick\templates\adsclarity\html\mod_adsmanager_search\default.php' ) ..\mod_adsmanager_search.php:100

No.2.:
Notice: Undefined variable: searchLabel in D:\xampp\htdocs\ly_quick\templates\adsclarity\html\mod_adsmanager_search\default.php on line 106
Call Stack
# Time Memory Function Location
1 0.2020 136680 {main}( ) ..\index.php:0
2 0.4390 2427176 JApplicationCms->execute( ) ..\index.php:45
3 1.1301 9283608 JApplicationSite->render( ) ..\cms.php:258
4 1.1311 9284000 JApplicationCms->render( ) ..\site.php:745
5 1.1411 9418160 JDocumentHTML->render( ) ..\cms.php:1059
6 1.1411 9418168 JDocumentHTML->_renderTemplate( ) ..\html.php:477
7 1.8151 11795368 JDocumentHTML->getBuffer( ) ..\html.php:697
8 1.8151 11795560 JDocumentRendererModules->render( ) ..\html.php:411
9 1.8161 11796000 JDocumentRendererModule->render( ) ..\modules.php:43
10 1.8161 11798248 JModuleHelper::renderModule( ) ..\module.php:103
11 1.8211 11843024 include( 'D:\xampp\htdocs\ly_quick\modules\mod_adsmanager_search\mod_adsmanager_search.php' ) ..\helper.php:190
12 1.8291 11938520 require( 'D:\xampp\htdocs\ly_quick\templates\adsclarity\html\mod_adsmanager_search\default.php' ) ..\mod_adsmanager_search.php:100

And i see 2 notice on advanced search.

No.1.:
Notice: Undefined property: stdClass::$single_category_selection_type in D:\xampp\apps\joomla\htdocs\modules\mod_adsmanager_advancedsearch\mod_adsmanager_advancedsearch.php on line 73
Call Stack
# Time Memory Function Location
1 0.2030 136632 {main}( ) ..\index.php:0
2 0.3040 2299512 JApplicationCms->execute( ) ..\index.php:45
3 0.6440 8010256 JApplicationSite->render( ) ..\cms.php:258
4 0.6450 8010648 JApplicationCms->render( ) ..\site.php:745
5 0.6580 8255512 JDocumentHTML->render( ) ..\cms.php:1059
6 0.6580 8255520 JDocumentHTML->_renderTemplate( ) ..\html.php:477
7 0.7800 8602496 JDocumentHTML->getBuffer( ) ..\html.php:697
8 0.7800 8602688 JDocumentRendererModules->render( ) ..\html.php:411
9 0.7950 8609240 JDocumentRendererModule->render( ) ..\modules.php:43
10 0.7950 8610792 JModuleHelper::renderModule( ) ..\module.php:103
11 0.8000 8654880 include( 'D:\xampp\apps\joomla\htdocs\modules\mod_adsmanager_advancedsearch\mod_adsmanager_advancedsearch.php' )

No.2.:
Notice: Undefined property: stdClass::$single_category_selection_type in D:\xampp\apps\joomla\htdocs\templates\adsclarity\html\mod_adsmanager_advancedsearch\default.php on line 32
Call Stack
# Time Memory Function Location
1 0.2030 136632 {main}( ) ..\index.php:0
2 0.3040 2299512 JApplicationCms->execute( ) ..\index.php:45
3 0.6440 8010256 JApplicationSite->render( ) ..\cms.php:258
4 0.6450 8010648 JApplicationCms->render( ) ..\site.php:745
5 0.6580 8255512 JDocumentHTML->render( ) ..\cms.php:1059
6 0.6580 8255520 JDocumentHTML->_renderTemplate( ) ..\html.php:477
7 0.7800 8602496 JDocumentHTML->getBuffer( ) ..\html.php:697
8 0.7800 8602688 JDocumentRendererModules->render( ) ..\html.php:411
9 0.7950 8609240 JDocumentRendererModule->render( ) ..\modules.php:43
10 0.7950 8610792 JModuleHelper::renderModule( ) ..\module.php:103
11 0.8000 8654880 include( 'D:\xampp\apps\joomla\htdocs\modules\mod_adsmanager_advancedsearch\mod_adsmanager_advancedsearch.php' ) ..\helper.php:190
12 0.8260 8746576 require( 'D:\xampp\apps\joomla\htdocs\templates\adsclarity\html\mod_adsmanager_advancedsearch\default.php' )


My Local PC Server:

OS Windows
PHP 5.6.12
MySQLi 5.6.26

PHP erstellt für Windows NT build 7601 (Windows 7 Service Pack 1) i586
Datenbankversion 5.6.26
Datenbankzeichensatz latin1_swedish_ci
PHP-Version 5.6.12
Webserver Apache/2.4.16 (Win32) OpenSSL/1.0.1p PHP/5.6.12
PHP-Interface für den Webserver apache2handler
Joomla!-Version Joomla! 3.4.8 Stable [ Ember ] 24-December-2015 19:30 GMT
Joomla!-Plattform-Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
Browsererkennung Mozilla/5.0 (Windows NT 6.1; rv:44.0) Gecko/20100101 Firefox/44.0



Somebody has a idea?
The following user(s) said Thank You: adarr
More
10 years 9 months ago #18092 by loic
Hello,

For the first two notices, in 'templates/adsclarity/html/mod_adsmanager_search/default.php', replace the lines 15 and 16:
if($display_cat_label !== 0 || isset($searchfields))
    $searchLabel = '';

By those lines:
if($display_cat_label !== 0 || isset($searchfields))
    $searchLabel = ' ';
else
    $searchLabel = '';

And for the last notices, could you try to save the configuration of AdsManager at least once ? It seems the params is missing and that is clearly a problem.

Best regards.
The following user(s) said Thank You: adarr
Time to create page: 0.070 seconds
Powered by Kunena Forum