SMFHacks.com
SMF Gallery Pro => Support => Topic started by: Shades on March 21, 2022, 08:14:29 pm
-
SMF 2.1.1
SMF Gallery Pro 9.0.1b
When adding icons to categories in admin I'm getting these errors:
Error
Type of error
Undefined_vars
Error message
8: Undefined index: id_topic
File
/home2/*****/public_html/*****/Sources/Gallery2.php
Line
1135
URL of page causing the error
https://*****.com/?action=gallery;sa=editcat2
Backtrace information
#0: smf_error_handler()
Called from /home2/*****/public_html/*****/Sources/Gallery2.php on line 1135
#1: EditCategory2()
Called from /home2/*****/public_html/*****/Sources/Gallery2.php on line 301
#2: GalleryMain()
Called from /home2/*****/public_html/*****/index.php on line 187
Error
Type of error
Undefined_vars
Error message
8: Undefined index: displaymode
File
/home2/*****/public_html/*****/Sources/Gallery2.php
Line
1142
URL of page causing the error
https://*****.com/?action=gallery;sa=editcat2
Backtrace information
#0: smf_error_handler()
Called from /home2/*****/public_html/*****/Sources/Gallery2.php on line 1142
#1: EditCategory2()
Called from /home2/*****/public_html/*****/Sources/Gallery2.php on line 301
#2: GalleryMain()
Called from /home2/*****/public_html/*****/index.php on line 187
It adds the image but these errors pop up in admin!
-
Actually this only happens for the User Gallery category!
-
Check if this file copied to sources folder works.
-
I believe that fixed it thank you! 8)