View Single Post
  #1  
Old 09-26-2019, 01:10 AM
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Location: Little Rock, AR
Posts: 1,060
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Possible Serious PHP Error?

I'm getting this error whenever I try to refresh in the CMS or when I click on various links in the CMS sidebar menu.

1. I'm using the built in vBulletin sidebar CMS menu, recent posts & threads widgets in the CMS for testing purposes.

2. I'm using vB 4.2.5 Suite.

3. Running PHP version 7.1.32

4. Using MySQL 5.0.12 (MySQLi)

5. Its a fresh install and I'm using the default style.

6. There are plugins & mods installed. I disabled them globally and tried again and still get the same error. So I do not believe that its a mod that I've installed.

7. I also have an issue with the Mod_Security at times in various places on the site.

Code:
Not Acceptable!
An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.
Here is the error I get:

Code:
Call to undefined function fetch_phrase_group() on line 196 in /home/xxxxx/public_html/xxxxx/packages/vbcms/widget/activitystream.php
#0 /home/xxxxx/public_html/xxxxx/packages/vbcms/widget/activitystream.php(172): vBCms_Widget_ActivityStream->getStream()
#1 /home/xxxxx/public_html/xxxxx/packages/vbcms/controller/content.php(237): vBCms_Widget_ActivityStream->getPageView()
#2 /home/xxxxx/public_html/xxxxx/vb/controller.php(261): vBCms_Controller_Content->actionView()
#3 /home/xxxxx/public_html/xxxxx/packages/vbcms/route/content.php(97): vB_Controller->getResponse()
#4 /home/xxxxx/public_html/xxxxx/vb/router.php(251): vBCms_Route_Content->getResponse()
#5 /home/xxxxx/public_html/xxxxx/vb/bootstrap.php(58): vB_Router::getResponse()
#6 /home/xxxxx/public_html/xxxxx/content.php(30): require_once('/home/xxxxx...')
#7 {main}

Line 196ish activitystream.php:

Code:
	/*
	 * Fetch the stream data!
	 */
	private function getStream()
	{
		global $vbphrase;

		fetch_phrase_group('activitystream');

		$activity = new vB_ActivityStream_View_Block($vbphrase);
		return $activity->process($this->config);
	}

	/**
	 * Gets a cache key - each user has a cache due to complicated permissions
	 * 	 
	 * @param  boolean $widgetid - Added for PHP 5.4 strict standards compliance
	 * @param  boolean $nodeid   - Added for PHP 5.4 strict standards compliance
	 *
	 * @return string
	 */
Is this possibly a PHP 7.1 issue I'm having or is it something else?
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01186 seconds
  • Memory Usage 1,767KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete