Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 11834
Latest: Volker S
New This Month: 1
New This Week: 1
New Today: 0
Stats
Total Posts: 42319
Total Topics: 7381
Most Online Today: 219
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 39
Total: 40

Author Topic: Undefined index: gallery_cat_cusfields  (Read 3037 times)

0 Members and 1 Guest are viewing this topic.

Offline Michel68

  • Full Member
  • ***
  • Posts: 152
    • View Profile
Undefined index: gallery_cat_cusfields
« on: March 18, 2016, 03:57:01 am »
index.php?action=gallery;sa=search
8: Undefined index: gallery_cat_cusfields
Datei: /homepages/Themes/default/Gallery2.template.php
Line: 3874

My log ist full with these errors


Line: 3874
Code: [Select]
if (count($context['gallery_cat_cusfields']) > 0)
{
echo '  <tr class="windowbg2">
  <td align="right"><b>',$txt['gallery_custom_fields'], '</b></td>';
  echo '<td><select name="customfields[]" multiple="multiple">
  <option value="0">' . $txt['gallery_text_catnone'] . '</option>
  ';
 
  foreach($context['gallery_cat_cusfields'] as $custom)
  {
  echo '<option value="' . $custom['ID_CUSTOM'] . '">' . $custom['title'] . '</option>';
  }
 
 
  echo '

and

index.php?action=gallery;sa=search2
8: Undefined index: customfields
Datei: /homepages/Sources/Gallery2.php
Line: 5345

Code: [Select]

$customfields = $_REQUEST['customfields'];

$context['search_cusfields_data'] = array();

if (!empty($customfields))
« Last Edit: March 18, 2016, 04:01:30 am by Michel68 »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16045
    • View Profile
Re: Undefined index: gallery_cat_cusfields
« Reply #1 on: March 18, 2016, 08:34:19 am »
Updated for fix
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
3024 Views
Last post March 27, 2009, 02:52:42 pm
by dry3210
5 Replies
4372 Views
Last post February 26, 2010, 01:49:14 pm
by SMFHacks
7 Replies
4876 Views
Last post February 02, 2012, 08:06:17 pm
by SMFHacks
8 Replies
11620 Views
Last post December 04, 2012, 08:45:52 pm
by SMFHacks
1 Replies
2932 Views
Last post September 03, 2015, 12:03:16 pm
by SMFHacks

+- Recent Topics

Profile Gallery Link by Hatshepsut
July 04, 2022, 11:00:01 pm

Trying to access array offset on value of type null by SMFHacks
July 04, 2022, 08:14:20 pm

Pictures appearing in post by SMFHacks
July 04, 2022, 12:56:40 pm

Error When Uploading Gifs To Subcategories by SMFHacks
July 03, 2022, 05:50:19 pm

SMF forum by davejo
June 27, 2022, 01:16:25 am

Quick-moderation checkboxes by davejo
June 22, 2022, 09:27:24 am

Add option to Main Menu bar by Shades
June 21, 2022, 12:23:00 am

Logo and Category? by SMFHacks
June 12, 2022, 03:43:31 pm

prettyurls - TroubleShooting.wiki by GhostHunting
June 12, 2022, 02:52:57 pm

[Mod]Modification Update Version Checker by SMFHacks
June 06, 2022, 09:25:39 pm

Powered by EzPortal