This just appeared on the home page

A historical forum for issues reported in the suggestions and bugs forum that have been subsequently fixed or resolved.
Post Reply
User avatar
bekateen
Posts: 9692
Joined: 09 Sep 2014, 17:50
I've donated: $40.00!
My articles: 4
My images: 144
My cats species list: 147 (i:106, k:32)
My aquaria list: 37 (i:14)
My BLogs: 46 (i:156, p:2605)
My Wishlist: 36
Spotted: 185
Location 1: USA, California, Stockton
Location 2: USA, California, Stockton
Contact:

This just appeared on the home page

Post by bekateen »

Hi Jools,

Maybe you're working on code right now. IDK, but in the last few seconds, this error message appeared on the homepage:
[phpBB Debug] PHP Warning: in file /home/webcat/planetcatfish.com/common/functions/_articles.php on line 57: Trying to access array offset on value of type bool
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4237: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3079)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4237: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3079)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4237: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3079)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4237: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3079)
Cheers,
Eric

Also, I'm noticing that the left column is stuck on breeder board and is not rotating through other options as is typical. Also, this post is not appearing on the home page. It's as if the home page is locked on whatever it was a few minutes ago.

Cheers, ET
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: 16304
Joined: 30 Dec 2002, 15:25
My articles: 198
My images: 946
My catfish: 237
My cats species list: 88 (i:235, k:2)
My BLogs: 7 (i:10, p:167)
My Wishlist: 23
Spotted: 453
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: This just appeared on the home page

Post by Jools »

Hi Eric,

Is fine now. I think it was probably caused by coincidence as I was working on the site yesterday. That said, not at that time of day. Not even close. That bit of code is to do with putting the new article info on the front page - not something I've been adjusting.

I'll move to resolved for now.

Cheers,

Jools
User avatar
bekateen
Posts: 9692
Joined: 09 Sep 2014, 17:50
I've donated: $40.00!
My articles: 4
My images: 144
My cats species list: 147 (i:106, k:32)
My aquaria list: 37 (i:14)
My BLogs: 46 (i:156, p:2605)
My Wishlist: 36
Spotted: 185
Location 1: USA, California, Stockton
Location 2: USA, California, Stockton
Contact:

Re: This just appeared on the home page

Post by bekateen »

It just started again, and again the home page is frozen.
[phpBB Debug] PHP Warning: in file /home/webcat/planetcatfish.com/common/functions/_articles.php on line 57: Trying to access array offset on value of type bool
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4237: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3079)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4237: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3079)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4237: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3079)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4237: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3079)
There are two spam posts which I moved to SPAM, but they are frozen in time on the home page, as if they're still in their original forums.

Cheers,
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: 16304
Joined: 30 Dec 2002, 15:25
My articles: 198
My images: 946
My catfish: 237
My cats species list: 88 (i:235, k:2)
My BLogs: 7 (i:10, p:167)
My Wishlist: 23
Spotted: 453
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: This just appeared on the home page

Post by Jools »

This really is a puzzler. It's maybe something cached locally, but that doesn't make a whole lot of sense given the error. Is it still happening?

Cheers,

Jools
User avatar
bekateen
Posts: 9692
Joined: 09 Sep 2014, 17:50
I've donated: $40.00!
My articles: 4
My images: 144
My cats species list: 147 (i:106, k:32)
My aquaria list: 37 (i:14)
My BLogs: 46 (i:156, p:2605)
My Wishlist: 36
Spotted: 185
Location 1: USA, California, Stockton
Location 2: USA, California, Stockton
Contact:

Re: This just appeared on the home page

Post by bekateen »

It stopped yesterday within about an hour. That was the same behavior I experienced the day before.

Is it just my computer? If so, it has happened only once each day then disappears. How odd is that?

Cheers, 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: 16304
Joined: 30 Dec 2002, 15:25
My articles: 198
My images: 946
My catfish: 237
My cats species list: 88 (i:235, k:2)
My BLogs: 7 (i:10, p:167)
My Wishlist: 23
Spotted: 453
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: This just appeared on the home page

Post by Jools »

I had a deeper look at this. It's to do with the specific article being shown in the random article bit on the home page. I think some articles may be missing data. As there are a couple hundred, and only one or few could be problematic the weird thing is that it happended at the same time.

I will see if I can find the culprit(s).

Cheers,

Jools
User avatar
bekateen
Posts: 9692
Joined: 09 Sep 2014, 17:50
I've donated: $40.00!
My articles: 4
My images: 144
My cats species list: 147 (i:106, k:32)
My aquaria list: 37 (i:14)
My BLogs: 46 (i:156, p:2605)
My Wishlist: 36
Spotted: 185
Location 1: USA, California, Stockton
Location 2: USA, California, Stockton
Contact:

Re: This just appeared on the home page

Post by bekateen »

It just happened again to me today. Here's a screenshot of what was displaying at the time I got the error message this time:
[phpBB Debug] PHP Warning: in file /home/webcat/planetcatfish.com/common/functions/_articles.php on line 57: Trying to access array offset on value of type bool
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4237: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3079)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4237: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3079)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4237: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3079)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4237: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3079)
Hopefully this will help you narrow it down.

Cheers, Eric
Attachments
Screenshot_20250214_222931_Chrome.jpg
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: 16304
Joined: 30 Dec 2002, 15:25
My articles: 198
My images: 946
My catfish: 237
My cats species list: 88 (i:235, k:2)
My BLogs: 7 (i:10, p:167)
My Wishlist: 23
Spotted: 453
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: This just appeared on the home page

Post by Jools »

That was helpful, and it made me realise I was looking at this the wrong way.

With a fresh brain, I had another take on this. The code that randomly selected an article was over-complex, so I have made it much simpler. As I don't know for sure what caused the error, I can't say for sure it is fixed. But it is so simple now I can't see there still being a problem.

Let me know how it goes.

Cheers,

Jools
Post Reply

Return to “All Resolved Issues”