Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2018-10-19 13:56:07

etc
Developer
Registered: 2010-11-11
Posts: 5,186
Website GitHub

Undefined variable in Classic theme notice

Txp 4.7.2:

Notice "Undefined variable: txp_user"
in ...\textpattern\admin-themes\classic\classic.php at line 107.

Offline

#2 2018-10-19 14:31:17

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: Undefined variable in Classic theme notice

Oops, something I’ve done then. Please raise the issue here and I’ll invesitgate, thanks.

Offline

#3 2018-10-19 14:42:21

etc
Developer
Registered: 2010-11-11
Posts: 5,186
Website GitHub

Re: Undefined variable in Classic theme notice

Hi Phil,

adding global $txp_user; at the beginning of footer() function should suffice.

Offline

#4 2018-10-22 08:40:37

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: Undefined variable in Classic theme notice

Done, thanks!

Offline

Board footer

Powered by FluxBB