Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2019-09-23 13:22:07

Gallex
Member
Registered: 2006-10-08
Posts: 1,135

Undefined variable

TXP 4.7.3
PHP version: 7.3.9

fresh install. trying to add a new section and get error:

Notice "compact(): Undefined variable: page"
in /www/apache/domains/www.hotelaavaranta.fi/htdocs/textpattern/include/txp_section.php at line 693.
adminErrorHandler()
textpattern/include/txp_section.php:693 compact()
textpattern/include/txp_section.php:58 section_save()
textpattern/index.php:255 include()

Offline

#2 2019-09-23 13:26:05

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,760
Website

Re: Undefined variable

Thanks for the report. This is a recently discovered issue with that version of PHP. The situation you cite has been patched ready for the next release, and other places where the same issue appears have either been patched or will be very soon.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB