vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Error help (https://vborg.vbsupport.ru/showthread.php?t=307453)

Peter Cook 01-24-2014 03:46 PM

Error help
 
Hello all

When clicking on advanced search, I am getting the following error messages.

Warning: Declaration of vBForum_Item_SocialGroupMessage::getLoadQuery() should be compatible with that of vB_Model::getLoadQuery() in ..../packages/vbforum/item/socialgroupmessage.php on line 261

Warning: Declaration of vBForum_Item_SocialGroupDiscussion::getLoadQuery() should be compatible with that of vB_Model::getLoadQuery() in ..../packages/vbforum/item/socialgroupdiscussion.php on line 337

I have not made any modifications so I hope someone can shed light on this.
Thanks

RichieBoy67 01-24-2014 03:49 PM

In includes/class_core.php locate lines 5683-5685


case E_NOTICE:
// Just ignore these completely //
break;

Then
Add this


case E_NOTICE:
case E_STRICT;
case E_DEPRECATED;
// Just ignore these completely //
break;
case E_STRICT;
case E_DEPRECATED; //
Just ignore these completely //
break;

Max Taxable 01-24-2014 03:50 PM

Possible your host upgraded PHP version.

RichieBoy67 01-24-2014 03:54 PM

Those are not errors but warning messages. Just use the code above to ignore them.

Max Taxable 01-24-2014 03:58 PM

I have fixed this before by getting rid of the ampersands in the lines warned about.

RichieBoy67 01-24-2014 04:03 PM

There are a few ways to do it. I have encountered these warnings after many upgrades to 4.2. Pretty common issue but not a big deal. A 1 minute fix.

Geez Max, I went to like your post but it says I have to like someone else first. :up: Too many likes from me already I guess.:D

BTW - There is an entire post to this on Vbulletin

http://www.vbulletin.com/forum/forum...algroupmessage

Peter Cook 01-24-2014 04:08 PM

Quote:

Originally Posted by RichieBoy67 (Post 2476633)
In includes/class_core.php locate lines 5683-5685


case E_NOTICE:
// Just ignore these completely //
break;

Then
Add this


case E_NOTICE:
case E_STRICT;
case E_DEPRECATED;
// Just ignore these completely //
break;
case E_STRICT;
case E_DEPRECATED; //
Just ignore these completely //
break;

As a note Richie I found these lines at 5688 -5690. I will try these now.

Thanks

--------------- Added [DATE]1390583538[/DATE] at [TIME]1390583538[/TIME] ---------------

I added these lines into the file, saved and tested! Internal server error! Removed lines, all ok.

--------------- Added [DATE]1390583919[/DATE] at [TIME]1390583919[/TIME] ---------------

Just added them before the message works! Thanks again :)

RichieBoy67 01-24-2014 04:24 PM

Glad to help. :)

Haponing 01-25-2014 03:16 AM

Thanks for this, but I can't seem to find includes/class_core.php. Is this in the Style Variable Editor?

ozzy47 01-25-2014 03:19 AM

No it is a php file that you loaded through FTP to your server when you installed vBulletin.


All times are GMT. The time now is 05:10 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01117 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete