BUG: Undefined variable text "behind" page content

A historical forum for issues reported in the suggestions and bugs forum that have been subsequently fixed or resolved.
Post Reply
User avatar
Jools
Expert
Posts: 16140
Joined: 30 Dec 2002, 15:25
My articles: 198
My images: 948
My catfish: 237
My cats species list: 87 (i:237, k:1)
My BLogs: 7 (i:10, p:202)
My Wishlist: 23
Spotted: 450
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

BUG: Undefined variable text "behind" page content

Post by Jools »

All,

Due to the upgrade, I need to find a specific bug. To help, I've made some server changes (upgraded to PHP 8.1) and as a side effect any undefined variables in the code will output warning text like this:

[phpBB Debug] PHP Warning: in file /home/webcat/planetcatfish.com/common/functions/latest_breederboard.php on line 24: Undefined variable

Warning text means stuff looks odd but functionality is not broken (except, perhaps, layout).

If just a few lines, the text maybe be hidden behind the menu/page header. Or there may be many lines of errors. If you spot one, post it here and I will fix as we go along.

Cheers, and thanks for your patience,

Jools
User avatar
bekateen
Posts: 9331
Joined: 09 Sep 2014, 17:50
I've donated: $40.00!
My articles: 4
My images: 141
My cats species list: 145 (i:105, k:35)
My aquaria list: 37 (i:14)
My BLogs: 45 (i:150, p:2729)
My Wishlist: 35
Spotted: 183
Location 1: USA, California, Stockton
Location 2: USA, California, Stockton
Contact:

Re: BUG: Undefined variable text "behind" page content

Post by bekateen »

Hi Jools,
I got the error on the front page, hiding under the text. Here it is:

[phpBB Debug] PHP Warning: in file /home/webcat/planetcatfish.com/common/functions/_articles.php on line 421: Undefined variable $old_part
[phpBB Debug] PHP Warning: in file /home/webcat/planetcatfish.com/common/functions/_articles.php on line 453: Undefined variable $part_text
[phpBB Debug] PHP Warning: in file /home/webcat/planetcatfish.com/index.php on line 166: Undefined variable $meta
[phpBB Debug] PHP Warning: in file /home/webcat/planetcatfish.com/index.php on line 166: Undefined variable $breadcrumbs
[phpBB Debug] PHP Warning: in file /home/webcat/planetcatfish.com/common/functions/arn_make_page.php on line 43: Undefined array key "species"
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4188: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3032)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4188: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3032)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4188: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3032)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4188: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3032)
[phpBB Debug] PHP Warning: in file /home/webcat/planetcatfish.com/common/functions/arn_make_page.php on line 47: Undefined variable $phpbb_root_path

Good hunting!
Eric
Image
Find me on YouTube & Facebook: http://youtube.com/user/Bekateen1; https://www.facebook.com/Bekateen
Buying caves from https://plecocaves.com? Plecocaves sponsor Bekateen's Fishroom. Use coupon code bekateen for 15% off your order.
Also, for you Swifties: Https://youtu.be/ZUKdhXL3NCw
User avatar
Jools
Expert
Posts: 16140
Joined: 30 Dec 2002, 15:25
My articles: 198
My images: 948
My catfish: 237
My cats species list: 87 (i:237, k:1)
My BLogs: 7 (i:10, p:202)
My Wishlist: 23
Spotted: 450
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: BUG: Undefined variable text "behind" page content

Post by Jools »

Thanks Eric, I found part of the problem with the "onmouseeover" bug which means I can now undo the change I made to show all these warning messages.

However, one day, I need to put them on again and sort out all the warnings......

Jools
User avatar
Jools
Expert
Posts: 16140
Joined: 30 Dec 2002, 15:25
My articles: 198
My images: 948
My catfish: 237
My cats species list: 87 (i:237, k:1)
My BLogs: 7 (i:10, p:202)
My Wishlist: 23
Spotted: 450
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: BUG: Undefined variable text "behind" page content

Post by Jools »

...and of course, this "one day" is now upon us. Moving this one to resolved.

Jools
Post Reply

Return to “All Resolved Issues”