Error message when trying to upload photos

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: 9325
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:

Error message when trying to upload photos

Post by bekateen »

Hi Jools,

I tried to upload a Limatulichthys griseus photo today and received this error message:
[phpBB Debug] PHP Warning: in file /home/webcat/planetcatfish.com/admin/classes/add_new_image.php on line 26: Undefined variable $row_class
[phpBB Debug] PHP Warning: in file /home/webcat/planetcatfish.com/admin/classes/add_new_image.php on line 26: Undefined variable $anchor

Fatal error: Uncaught ArgumentCountError: Too few arguments to function SpeciesThumbnails::__construct(), 3 passed in /home/webcat/planetcatfish.com/common/classes/species_thumbnails.php on line 385 and exactly 4 expected in /home/webcat/planetcatfish.com/common/classes/species_thumbnails.php:109 Stack trace: #0 /home/webcat/planetcatfish.com/common/classes/species_thumbnails.php(385): SpeciesThumbnails->__construct(4, 411, 2521) #1 /home/webcat/planetcatfish.com/admin/classes/image_admin_task.php(43): AdminSpeciesThumbnails->__construct(4, 411, 2521, NULL) #2 /home/webcat/planetcatfish.com/admin/classes/add_new_image.php(136): image_admin_task->choose_species(Array) #3 /home/webcat/planetcatfish.com/admin/index.php(169): add_new_image->task(Object(phpbb\db\driver\factory)) #4 /home/webcat/planetcatfish.com/admin/index.php(131): arn_admin_guts('ani', '6.2.1, released...') #5 {main} thrown in /home/webcat/planetcatfish.com/common/classes/species_thumbnails.php on line 109
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: 16138
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: Error message when trying to upload photos

Post by Jools »

This is now fixed, tested with a new photo upload too.

Jools
Post Reply

Return to “All Resolved Issues”