News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

SMF 2.0.8 Subs-Post.php error

Started by bialk, July 23, 2016, 03:23:38 AM

Previous topic - Next topic

bialk

Please help! I can't post. It gives me this error:

Field 'hiddenInfo' doesn't have a default value
File: /home/kornitsa/public_html/forum/Sources/Subs-Post.php
Line: 1828

br360

What mods have you installed recently and can you please list your installed mods?

It also might help to post here a few lines of code before and after lines 1828

bialk

1.    Ad Managment    3.2    
2.    SMF 1.1.20 / 2.0.9 Update    1.0    
3.    Aeva Media    1.4w    
4.    Recent Topics On "Recent Posts" Page    
5.    Users Online Today    1.6.0 RC2    
6.    Like Posts    1.4    
7.    Effectively Remove SMF Logo    2.0    
8.    Recent Topics On Board Index    1.03    
9.    Pretty URLs    1.1.1a    
10.    SMF 1.1.21 / 2.0.10 Update    1.0    
11.    SMF 2.0.11 Update    1.0    
12.    Board Viewers Mod    1.2.1.1b    
13.    SA Facebook    2.0.3    
14.    Groupdocs Annotation    
15.    Related Topics    1.4    
16.    Similar Topics    0.6


Quotelist ($posterOptions['name'], $posterOptions['email']) = $smcFunc['db_fetch_row']($request);
         $smcFunc['db_free_result']($request);
      }
      else
      {
         $posterOptions['name'] = $user_info['name'];
         $posterOptions['email'] = $user_info['email'];
      }
   }

1828 - else



Illori

hiddenInfo is not present at all in that file, are you sure that is the correct version of that file?

bialk


Illori

i know that but that text should still be in the file... otherwise you may need to drop that column from your database.

have you uninstalled any mods recently?


bialk

Thanks! It's helped

Quote from: margarett on June 27, 2016, 07:47:18 AM
I'm pretty sure that the field does come from the MOD "Hide Post". You might not have it now but you probably did sometime in the past. Hide Tag Special does not seem to create a "hiddenInfo" column.

Put your forum in maintenance mode, backup your database (DON'T SKIP THIS!), go to your database in phpmyadmin and run the following query in the "SQL" tab
ALTER TABLE smf_messages DROP COLUMM hiddenInfo
Then test your forum as much as you can. I'm confident you won't get any more errors but better safe than sorry ;)

Advertisement: