Variable Notices When Login Into Admin Panel

Need help with the Administration of your Joomla! 3.x site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
wolfofthestars
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Wed Jul 06, 2016 11:22 pm

Variable Notices When Login Into Admin Panel

Post by wolfofthestars » Thu Jul 07, 2016 12:33 am

Hello everyone. I am feeling a little frustrated and hope you can help. I am installing Joomla 3.5.1 onto a local host on my Windows 10 laptop. I am using XAMPP Control Panel v3.2.2. When I go to my Administration site, I am able to login and then I get the following Variable php errors on a solid blue background in grey lettering. I can see the View Site, Vistors, Admins and Log out bar at the bottom just fine.
Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 22

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 23

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\menu.php on line 94

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 28

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\menu.php on line 94

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 34

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 39

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 40

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\menu.php on line 94

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 46

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 56

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 60

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 64

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 70

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 74

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 78

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 82

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\menu.php on line 94

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 88

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 92

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 98

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 107

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\menu.php on line 94

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 116

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 127

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 130

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 134

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\menu.php on line 94

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 180

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 190

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 204

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 206

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 211

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 218

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 225

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 230

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\menu.php on line 94

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 235

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 251

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 258

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 262

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 262

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 262

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 262

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 258

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 262

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 262

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 269

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 258

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 262

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 258

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 262

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 262

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 269

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 269

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 269

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 269

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 269

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 287

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 291

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 293

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 294

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 295

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 296

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 297

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 298

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 299

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 300

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\menu.php on line 94

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 311

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 316

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 321

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 326

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 328

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 329

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 330

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 342

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 343

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\menu.php on line 94

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 346

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 359

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 363

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\menu.php on line 94

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 366

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 368

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 370

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 371

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 373

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 375

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 376

Notice: Only variables should be passed by reference in C:\xampp\htdocs\Joomla3x\administrator\modules\mod_menu\tmpl\default_enabled.php on line 377

I have done some Googling but my knowledge of php is lacking. When installing Joomla I noticed the recommended settings said to have Display Errors and Output Buffering set to off, while mine were set to On. I'm not sure how to change them. I tried setting them to off, I think. With my XAMPP Control Panel open I went to Config by Apache and to PHP.ini I changed the following to Off:
; display_errors
; Default Value: Off
; Development Value: Off
; Production Value: Off

; display_startup_errors
; Default Value: Off
; Development Value: Off
; Production Value: Off

; error_reporting
; Default Value: Off
; Development Value: Off
; Production Value: Off
Then saved the file and restarted Apache and MySQL. I have also restarted my machine multiple times. I also tried installing the latest version of php (4.6.3) and no change. I am using 4.5.1 now, as I went and re-installed everything again and didn't put in the update, thinking that was a problem.

Appreciate the time you are taking to help this frustrated CMS noobie. :)

itoctopus
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4026
Joined: Mon Nov 25, 2013 4:35 pm
Location: Montreal, Canada
Contact:

Re: Variable Notices When Login Into Admin Panel

Post by itoctopus » Fri Jul 08, 2016 1:41 pm

This is odd - I have checked that file (the "default_enabled.php" file) and I couldn't find any issue with line 22 (or any issue with that file in general). Could you please post the contents of that file here when you get the chance?

In any case, to disable error reporting, just go to the backend, click on "System" - "Global Configuration". Click on the "Server" tab, and then choose "None" next to "Error Reporting". Save the settings and then clear your Joomla cache by going to "System" - "Clear Cache", selecting everything and then clicking on "Delete".

If you are having problems with changing the configuration settings (e.g. you are unable to save them), then you should change $error_reporting to "none" in the configuration.php file located under the main directory of your Joomla website.
http://www.itoctopus.com - Joomla consulting at its finest
https://twitter.com/itoctopus - Follow us on Twitter

User avatar
nordmograph
Joomla! Intern
Joomla! Intern
Posts: 93
Joined: Thu Jan 28, 2010 12:38 am
Location: Lille France EU
Contact:

Re: Variable Notices When Login Into Admin Panel

Post by nordmograph » Fri Jul 08, 2016 2:35 pm

Exact same issue here with exact same linennumbers references
As an example here are lines 22 & 23

Code: Select all

$menu->addChild(new JMenuNode(JText::_('MOD_MENU_SYSTEM'), '#'), true);
$menu->addChild(new JMenuNode(JText::_('MOD_MENU_CONTROL_PANEL'), 'index.php', 'class:cpanel'));
Yes disabling php7 or error_reporting solves the issue.
E-commerce, community & geo mapping extensions
https://www.nordmograph.com/extensions

User avatar
AMurray
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4883
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Variable Notices When Login Into Admin Panel

Post by AMurray » Sat Jul 09, 2016 12:54 am

I might be off the beaten track here...but from your question I have noted:
wolfofthestars wrote: I also tried installing the latest version of php (4.6.3) and no change. I am using 4.5.1 now, as I went and re-installed everything again and didn't put in the update, thinking that was a problem.
I don't think you would be installing PHP 4.6.3 ??? Joomla 3.5.x won't run on anything less than PHP 5.3.10 (but the recommended version/s are PHP 5.6 or 7.x)

Also I noted in your question:
wolfofthestars wrote:I am using XAMPP Control Panel v3.2.2.
That's the latest XAMPP control panel but what actual version of PHP are you using (it wouldn't be 4.6.3....???)

I can see the currently available XaMPP versions here: https://www.apachefriends.org/download.html

Not sure if this would have any impact on your issues with those errors, but I would like to know if you really mean PHP 4.6.3 or if that's actually a typo.
Regards,
--------------------------------------------------------------
A Murray
Millennium Falcon - it's the ship that made the Kessel run in less than 12 parsecs! The fastest hunk of junk in the galaxy.

itoctopus
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4026
Joined: Mon Nov 25, 2013 4:35 pm
Location: Montreal, Canada
Contact:

Re: Variable Notices When Login Into Admin Panel

Post by itoctopus » Sat Jul 09, 2016 5:18 am

As AMurray mentioned, can you check your version of PHP? It doesn't seem right.

@nordmograph Do you mean that switching from PHP 7 to, let's say, PHP 5.6 fixed the problem for you?
http://www.itoctopus.com - Joomla consulting at its finest
https://twitter.com/itoctopus - Follow us on Twitter

User avatar
nordmograph
Joomla! Intern
Joomla! Intern
Posts: 93
Joined: Thu Jan 28, 2010 12:38 am
Location: Lille France EU
Contact:

Re: Variable Notices When Login Into Admin Panel

Post by nordmograph » Sat Jul 09, 2016 6:37 am

itoctopus wrote:As AMurray mentioned, can you check your version of PHP? It doesn't seem right.

@nordmograph Do you mean that switching from PHP 7 to, let's say, PHP 5.6 fixed the problem for you?
Yes , or turning error reporting off.

Unfortunately I need both on.
E-commerce, community & geo mapping extensions
https://www.nordmograph.com/extensions

mdeherder
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Tue Jan 17, 2012 3:11 pm

Re: Variable Notices When Login Into Admin Panel

Post by mdeherder » Sat Jul 09, 2016 6:29 pm

Same problem under php 7.0.8
And Ok under php 5.6.19

kalimati
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Wed May 03, 2006 12:07 pm

Re: Variable Notices When Login Into Admin Panel

Post by kalimati » Sat Jul 30, 2016 1:13 pm

I am getting the same set of errors after upgrading my Ubuntu on laptop to 16.04. PHP got upgraded to 7.0.8 and MySQL to 5.7.13

User avatar
ribo
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3379
Joined: Sun Jan 03, 2010 8:47 pm
Contact:

Re: Variable Notices When Login Into Admin Panel

Post by ribo » Sat Jul 30, 2016 2:28 pm

Please switch to php version 5.6.24(which is the latest of 5.6 now) and it will be fixed
chat room spontes : http://www.spontes.com

wolfofthestars
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Wed Jul 06, 2016 11:22 pm

Re: Variable Notices When Login Into Admin Panel

Post by wolfofthestars » Fri Aug 26, 2016 4:19 pm

Thank you everyone for your time and help. I was able to get back on this project today and Ribo's suggestion gave me the idea to go back to apachefriends.org and download the XAMMP for Windows v5.6.23 with PHP 5.6.23. Thankfully it worked! Thank you again.


Locked

Return to “Administration Joomla! 3.x”