Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-17-2014, 10:46 AM
seventhaxis seventhaxis is offline
 
Join Date: Feb 2013
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Warning: Creating default object from empty value...

I have not seen this issue on my site until tonight. When viewing a specific category of news posts (e.g. Website Updates) I receive the following error at the top of the page:

Code:
Warning: Creating default object from empty value in [path]/packages/vbcms/controller/list.php on line 426
Context from the file in question:

Code:
425 $recordcount = $collection->getCount();
426 $contentview->contenttypeid = vB_Types::instance()->getContentTypeID("vBCms_Section");
427 $contentview->contentid = $contentview->item_id = $contentview->nodeid = $this->displaysectionid;
428 $contentview = new vB_View_Content('vbcms_content_list');
429 $contentview->package = 'vBCms';
430 $contentview->class = 'Section';
431 $contentview->result_type = $this->result_type;
432 $contentview->rawtitle = $this->title;
433 $contentview->title = $this->title;
434 $contentview->current_page = $current_page;
I took a look at the file but I don't really know anything about PHP. I don't see the error anywhere else on the website and any online searches really don't result in relevant fixes AFAIK. Any and all help is greatly appreciated! If you need any of the files just let me know and I'll throw them up on pastebin or something.

website: http://parallaxgaming.com

error message: http://parallaxgaming.com/list.php?r=category/3
Reply With Quote
  #2  
Old 11-17-2014, 01:09 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you make any changes to your site recently? You say you haven't seen it, is it possible that it's been there but you didn't notice it (I'm asking because I didn't notice at first because of the font color).

I see you have kind of an older version of vb. Do you know what version of php your server is running?
Reply With Quote
  #3  
Old 11-17-2014, 07:18 PM
seventhaxis seventhaxis is offline
 
Join Date: Feb 2013
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, it actually pushes down the top bar of information so I noticed it immediately when it appeared. The only change I made was changing over to use reCaptcha as verification and I added a custom .php page (/archives.php) which really has no call or connection to the categories sections.

I'm running 4.1.10 and I really don't feel comfortable upgrading due to the amount of work I've put into styling. If we upgrade, we're just going to move away to a different software rather than stick with vBulletin.
Reply With Quote
  #4  
Old 11-17-2014, 08:49 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What version of PHP is on the site?
Reply With Quote
  #5  
Old 11-17-2014, 11:29 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also I don't see how much styling you would need to change going from 4.1.10 to 4.2.2, why not set up a test site, and see how it looks?
Reply With Quote
  #6  
Old 11-18-2014, 12:02 PM
seventhaxis seventhaxis is offline
 
Join Date: Feb 2013
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP version 5.4.34

We tried updating to 4.2.2 in the past and it really messed up a lot of things. I thoroughly enjoy vBulletin honestly and the last thing I want to do is switch, but (I'm sure you can understand) the headaches and constant styling/coding errors we ran into just end up being too much for me to deal with. Just running into this issue itself gets a bit frustrating as it was working fine about three days ago. All I added was the archive.php page and change the method of Human Verification.
Reply With Quote
  #7  
Old 11-18-2014, 12:24 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well that is the root of all your issues. You need to downgrade your PHP version, or update your vBulletin. The version you are running does not support the PHP version you are running.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:39 AM.


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.04067 seconds
  • Memory Usage 2,213KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete