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: 3,131
Website

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.

etc_[ query | search | pagination | date | tree | cache ]

Offline

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

philwareham
Core designer
From: Farnham, Surrey, UK
Registered: 2009-06-11
Posts: 3,175
Website

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: 3,131
Website

Re: Undefined variable in Classic theme notice

Hi Phil,

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


etc_[ query | search | pagination | date | tree | cache ]

Offline

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

philwareham
Core designer
From: Farnham, Surrey, UK
Registered: 2009-06-11
Posts: 3,175
Website

Re: Undefined variable in Classic theme notice

Done, thanks!

Offline

Board footer

Powered by FluxBB