vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Warning: Creating default object from empty value... (https://vborg.vbsupport.ru/showthread.php?t=315469)

seventhaxis 11-17-2014 10:46 AM

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

kh99 11-17-2014 01:09 PM

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?

seventhaxis 11-17-2014 07:18 PM

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.

Lynne 11-17-2014 08:49 PM

What version of PHP is on the site?

ozzy47 11-17-2014 11:29 PM

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?

seventhaxis 11-18-2014 12:02 PM

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.

ozzy47 11-18-2014 12:24 PM

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.


All times are GMT. The time now is 06:56 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.00992 seconds
  • Memory Usage 1,725KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete