Jump to content

Ban Members From Forums


Recommended Posts

  • 7 months later...

hi @Adriano Faria, can you tell me something about this reoccurring system log entry?

Error: Class 'IPS\Theme\Cache\class_core_global_global' not found in /var/www/vhosts/mywebsite.com/httpdocs/system/Theme/Theme.php(946) : eval()'d code:5 Stack trace: #0 /var/www/vhosts/mywebsite.com/httpdocs/system/Theme/Theme.php(946): eval() #1 /var/www/vhosts/mywebsite.com/httpdocs/system/Theme/Cache/Template.php(108): IPS\_Theme::overloadHooks() #2 /var/www/vhosts/mywebsite.com/httpdocs/system/Theme/Theme.php(797): IPS\Theme\Cache\_Template->exists() #3 /var/www/vhosts/mywebsite.com/httpdocs/uploads/template_1_1bb0e8f6d56f81d6c7163246c7be5ae2_forums.php(1377): IPS\_Theme->getTemplate() #4 /var/www/vhosts/mywebsite.com/httpdocs/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_forums_front_forums->forumTable() #5 /var/www/vhosts/mywebsite.com/httpdocs/system/Helpers/Table/Table.php(564): IPS\Theme\_SandboxedTemplate->__call() #6 /var/www/vhosts/mywebsite.com/httpdocs/applications/forums/modules/front/forums/forums.php(417): IPS\Helpers\Table\_Table->__toString() #7 /var/www/vhosts/mywebsite.com/httpdocs/applications/forums/modules/front/forums/forums.php(38): IPS\forums\modules\front\forums\_forums->_forum() #8 /var/www/vhosts/mywebsite.com/httpdocs/init.php(913) : eval()'d code(30): IPS\forums\modules\front\forums\_forums->manage() #9 /var/www/vhosts/mywebsite.com/httpdocs/system/Dispatcher/Controller.php(101): IPS\forums\modules\front\forums\banfromforums_hook_bmffForumView->manage() #10 /var/www/vhosts/mywebsite.com/httpdocs/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute() #11 /var/www/vhosts/mywebsite.com/httpdocs/index.php(13): IPS\_Dispatcher->run() #12 {main}

Link to comment
  • 3 months later...

@Adriano Faria Hi,

 

I received this error while splitting a reply into existing topic.

 

#0 /forums/system/Theme/SandboxedTemplate.php(71): IPS\_Log::log(Object(Error), 'template_error')
#1 /forums/applications/forums/modules/front/forums/topic.php(189): IPS\Theme\_SandboxedTemplate->__call('topicHover', Array)
#2 /forums/init.php(903) : eval()'d code(38): IPS\forums\modules\front\forums\_topic->manage()
#3 /forums/system/Dispatcher/Controller.php(101): IPS\forums\modules\front\forums\banfromforums_hook_bmffTopicView->manage()
#4 /forums/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute()
#5 /forums/applications/forums/modules/front/forums/topic.php(39): IPS\Content\_Controller->execute()
#6 /forums/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\front\forums\_topic->execute()
#7 /forums/index.php(13): IPS\_Dispatcher->run()
#8 {main}

I am still on 4.6 

Update:

I disabled the application and ran some testing nothing happen, so just take a look please. 

Edited by Afrodude
Link to comment
20 hours ago, Afrodude said:

@Adriano Faria Hi,

 

I received this error while splitting a reply into existing topic.

 

#0 /forums/system/Theme/SandboxedTemplate.php(71): IPS\_Log::log(Object(Error), 'template_error')
#1 /forums/applications/forums/modules/front/forums/topic.php(189): IPS\Theme\_SandboxedTemplate->__call('topicHover', Array)
#2 /forums/init.php(903) : eval()'d code(38): IPS\forums\modules\front\forums\_topic->manage()
#3 /forums/system/Dispatcher/Controller.php(101): IPS\forums\modules\front\forums\banfromforums_hook_bmffTopicView->manage()
#4 /forums/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute()
#5 /forums/applications/forums/modules/front/forums/topic.php(39): IPS\Content\_Controller->execute()
#6 /forums/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\front\forums\_topic->execute()
#7 /forums/index.php(13): IPS\_Dispatcher->run()
#8 {main}

I am still on 4.6 

Update:

I disabled the application and ran some testing nothing happen, so just take a look please. 

I can't reproduce using IPS 4.6.12.1 and PHP 8.0.X:

Posts were splitted from topics using multi mod action and the post action.

No error logged.

Link to comment
6 hours ago, Adriano Faria said:

I can't reproduce using IPS 4.6.12.1 and PHP 8.0.X:

No need to spend time on recording dear. I trust your words. It might be a cache issue, and after I disabled it and enabled it back it's gone. Thanks for your time :). 

Link to comment
  • 3 months later...
  • 3 months later...

@Adriano Faria I have been seen this error since 4.7.7

Error: Call to a member function isAnonymous() on array in /srv/forums/system/Content/Item.php:5625
Stack trace:
#0 /forums/uploads/cache/template_66_1bb0e8f6d56_forums.php(4902): IPS\Content\_Item->lastCommenter()
#1 /forums/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_forums_front_forums->topicRow(Object(IPS\Helpers\Table\Content), Array, Array)
#2 /forums/uploads/cache/template_66_1bb0e8f6d56_forums.php(1529): IPS\Theme\_SandboxedTemplate->__call('topicRow', Array)
#3 /forums/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_forums_front_forums->forumTable(Object(IPS\Helpers\Table\Content), Array, Array, NULL, true)
#4 /forums/system/Helpers/Table/Table.php(579): IPS\Theme\_SandboxedTemplate->__call('forumTable', Array)
#5 /forums/applications/forums/modules/front/forums/forums.php(568): IPS\Helpers\Table\_Table->__toString()
#6 /forums/applications/forums/modules/front/forums/forums.php(38): IPS\forums\modules\front\forums\_forums->_forum(Object(IPS\forums\Forum))
#7 /forums/init.php(935) : eval()'d code(30): IPS\forums\modules\front\forums\_forums->manage()
#8 /forums/system/Dispatcher/Controller.php(118): IPS\forums\modules\front\forums\banfromforums_hook_bmffForumView->manage()
#9 /forums/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute()
#10 /forums/index.php(13): IPS\_Dispatcher->run()
#11 {main}

 

#0 /forums/system/Theme/SandboxedTemplate.php(71): IPS\_Log::log(Object(Error), 'template_error')
#1 /forums/uploads/cache/template_66_1bb0e8f6d56_forums.php(1529): IPS\Theme\_SandboxedTemplate->__call('topicRow', Array)
#2 /forums/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_forums_front_forums->forumTable(Object(IPS\Helpers\Table\Content), Array, Array, NULL, true)
#3 /forums/system/Helpers/Table/Table.php(579): IPS\Theme\_SandboxedTemplate->__call('forumTable', Array)
#4 /forums/applications/forums/modules/front/forums/forums.php(568): IPS\Helpers\Table\_Table->__toString()
#5 /forums/applications/forums/modules/front/forums/forums.php(38): IPS\forums\modules\front\forums\_forums->_forum(Object(IPS\forums\Forum))
#6 /forums/init.php(935) : eval()'d code(30): IPS\forums\modules\front\forums\_forums->manage()
#7 /forums/system/Dispatcher/Controller.php(118): IPS\forums\modules\front\forums\banfromforums_hook_bmffForumView->manage()
#8 /forums/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute()
#9 /forums/index.php(13): IPS\_Dispatcher->run()
#10 {main}

Whenever you've time please take a look. All errors were triggered by guests' group.

Edited by Afrodude
Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...