[SC] Additional Statistics

[SC] Additional Statistics 2.0.0

No permission to download

GERINO

Well-known member
GERINO submitted a new resource:

[SC] Additional Statistics - Add resource/media/albums in your forum statistics

Hello,

Today I share with you an add-on made by @SyTry to add the number of resources/media/albums in you forum statistics. Thanks to @[F.A] Walky !

Screen :
View attachment 192263

Installation :
  • Download and unzip it.
  • Copy the src/addons/SyTryC/AdditionalStatistics directory to your server.
  • From the AdminCP install the add-on.
Don't hesitate to leave a rating ...​

Read more about this resource...
 
This doesn't play nice if the Resource Manager is not installed..

Template Compilation Error
public:forum_list - MySQL statement prepare error [1146]: Table 'xenforo.xf_rm_resource' doesn't exist in C:\wamp64\www\nerdface\src\XF\Db\AbstractStatement.php:217
 
Hello, this add-on will be update by me and @CRUEL-MODZ at @XenSoluce now :

Regards, SyTry
 
As far as I can tell 🙂 (which feels like a minor miracle!)

These are the errors I get with this add-on enabled on PHP 8.1:
Code:
Deprecated:  Return type of Aws\HandlerList::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HandlerList.php on line 308

Deprecated:  Return type of Aws\Api\AbstractModel::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/Api/AbstractModel.php on line 41

Deprecated:  Return type of Aws\Api\AbstractModel::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/Api/AbstractModel.php on line 30

Deprecated:  Return type of Aws\Api\AbstractModel::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/Api/AbstractModel.php on line 36

Deprecated:  Return type of Aws\Api\AbstractModel::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/Api/AbstractModel.php on line 46

Deprecated:  Return type of Aws\Endpoint\Partition::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HasDataTrait.php on line 41

Deprecated:  Return type of & Aws\Endpoint\Partition::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HasDataTrait.php on line 26

Deprecated:  Return type of Aws\Endpoint\Partition::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HasDataTrait.php on line 36

Deprecated:  Return type of Aws\Endpoint\Partition::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HasDataTrait.php on line 46

Deprecated:  Aws\Credentials\Credentials implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/Credentials/Credentials.php on line 8

Deprecated:  Return type of Aws\Command::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HasDataTrait.php on line 41

Deprecated:  Return type of & Aws\Command::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HasDataTrait.php on line 26

Deprecated:  Return type of Aws\Command::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HasDataTrait.php on line 36

Deprecated:  Return type of Aws\Command::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HasDataTrait.php on line 46

Deprecated:  Return type of Aws\Command::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HasDataTrait.php on line 56

Deprecated:  Return type of Aws\Command::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HasDataTrait.php on line 13

Deprecated:  Return type of Aws\Api\DateTimeResult::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/Api/DateTimeResult.php on line 37

Deprecated:  Return type of Aws\Result::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HasDataTrait.php on line 41

Deprecated:  Return type of & Aws\Result::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HasDataTrait.php on line 26

Deprecated:  Return type of Aws\Result::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HasDataTrait.php on line 36

Deprecated:  Return type of Aws\Result::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HasDataTrait.php on line 46

Deprecated:  Return type of Aws\Result::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HasDataTrait.php on line 13

Deprecated:  Return type of Aws\Result::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HasDataTrait.php on line 56
I get similar things for $forumAlbums and $forumResources.

Our line numbers may not match because I've added further additional statistics based on your code - Everything was running fine on PHP 7.4

Code:
ErrorException: Template error: [E_WARNING] Undefined variable $forumItems src/addons/SyTryC/AdditionalStatistics/Widget/ForumStatistics.php:110

Generated by: Oblivion Knight Mar 2, 2023 at 11:04 AM

---

#0 src/addons/SyTryC/AdditionalStatistics/Widget/ForumStatistics.php(110): XF\Template\Templater->handleTemplateError(2, '[E_WARNING] Und...', '/home/umbrellao...', 110)
#1 internal_data/code_cache/widgets/_9_forum_overview_forum_statistics.php(5): SyTryC\AdditionalStatistics\Widget\ForumStatistics->render()
#2 src/XF/Template/Templater.php(7679): XF\SubContainer\Widget->{closure}(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), Array, Array)
#3 src/XF/SubContainer/Widget.php(168): XF\Template\Templater->renderWidgetClosure(Object(Closure), Array)
#4 src/XF/Template/Templater.php(1937): XF\SubContainer\Widget->getCompiledWidget(Array, Array)
#5 internal_data/code_cache/templates/l1/s3/public/forum_list.php(227): XF\Template\Templater->widgetPosition('forum_list_belo...', Array)
#6 src/XF/Template/Templater.php(1652): XF\Template\Templater->{closure}(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), Array, NULL)
#7 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('forum_list', Array)
#8 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#9 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XF:Forum\\Listin...', 'public:forum_li...', Array)
#10 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#11 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#12 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#13 src/XF/App.php(2483): XF\Mvc\Dispatcher->run()
#14 src/XF.php(524): XF\App->run()
#15 index.php(20): XF::runApp('XF\\Pub\\App')
#16 {main}
}
Code:
ErrorException: Template error: [E_WARNING] Undefined variable $forumItems src/addons/SyTryC/AdditionalStatistics/Widget/ForumStatistics.php:98

Generated by: Oblivion Knight Mar 2, 2023 at 11:04 AM

---

#0 src/addons/SyTryC/AdditionalStatistics/Widget/ForumStatistics.php(98): XF\Template\Templater->handleTemplateError(2, '[E_WARNING] Und...', '/home/umbrellao...', 98)
#1 internal_data/code_cache/widgets/_9_forum_overview_forum_statistics.php(5): SyTryC\AdditionalStatistics\Widget\ForumStatistics->render()
#2 src/XF/Template/Templater.php(7679): XF\SubContainer\Widget->{closure}(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), Array, Array)
#3 src/XF/SubContainer/Widget.php(168): XF\Template\Templater->renderWidgetClosure(Object(Closure), Array)
#4 src/XF/Template/Templater.php(1937): XF\SubContainer\Widget->getCompiledWidget(Array, Array)
#5 internal_data/code_cache/templates/l1/s3/public/forum_list.php(227): XF\Template\Templater->widgetPosition('forum_list_belo...', Array)
#6 src/XF/Template/Templater.php(1652): XF\Template\Templater->{closure}(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), Array, NULL)
#7 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('forum_list', Array)
#8 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#9 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XF:Forum\\Listin...', 'public:forum_li...', Array)
#10 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#11 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#12 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#13 src/XF/App.php(2483): XF\Mvc\Dispatcher->run()
#14 src/XF.php(524): XF\App->run()
#15 index.php(20): XF::runApp('XF\\Pub\\App')
#16 {main}
 
As far as I can tell 🙂 (which feels like a minor miracle!)

These are the errors I get with this add-on enabled on PHP 8.1:
Code:
Deprecated:  Return type of Aws\HandlerList::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HandlerList.php on line 308

Deprecated:  Return type of Aws\Api\AbstractModel::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/Api/AbstractModel.php on line 41

Deprecated:  Return type of Aws\Api\AbstractModel::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/Api/AbstractModel.php on line 30

Deprecated:  Return type of Aws\Api\AbstractModel::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/Api/AbstractModel.php on line 36

Deprecated:  Return type of Aws\Api\AbstractModel::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/Api/AbstractModel.php on line 46

Deprecated:  Return type of Aws\Endpoint\Partition::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HasDataTrait.php on line 41

Deprecated:  Return type of & Aws\Endpoint\Partition::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HasDataTrait.php on line 26

Deprecated:  Return type of Aws\Endpoint\Partition::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HasDataTrait.php on line 36

Deprecated:  Return type of Aws\Endpoint\Partition::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HasDataTrait.php on line 46

Deprecated:  Aws\Credentials\Credentials implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/Credentials/Credentials.php on line 8

Deprecated:  Return type of Aws\Command::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HasDataTrait.php on line 41

Deprecated:  Return type of & Aws\Command::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HasDataTrait.php on line 26

Deprecated:  Return type of Aws\Command::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HasDataTrait.php on line 36

Deprecated:  Return type of Aws\Command::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HasDataTrait.php on line 46

Deprecated:  Return type of Aws\Command::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HasDataTrait.php on line 56

Deprecated:  Return type of Aws\Command::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HasDataTrait.php on line 13

Deprecated:  Return type of Aws\Api\DateTimeResult::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/Api/DateTimeResult.php on line 37

Deprecated:  Return type of Aws\Result::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HasDataTrait.php on line 41

Deprecated:  Return type of & Aws\Result::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HasDataTrait.php on line 26

Deprecated:  Return type of Aws\Result::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HasDataTrait.php on line 36

Deprecated:  Return type of Aws\Result::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HasDataTrait.php on line 46

Deprecated:  Return type of Aws\Result::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HasDataTrait.php on line 13

Deprecated:  Return type of Aws\Result::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/umbrellaonline/public_html/src/addons/XFAws/_vendor/aws/aws-sdk-php/src/HasDataTrait.php on line 56
I get similar things for $forumAlbums and $forumResources.

Our line numbers may not match because I've added further additional statistics based on your code - Everything was running fine on PHP 7.4

Code:
ErrorException: Template error: [E_WARNING] Undefined variable $forumItems src/addons/SyTryC/AdditionalStatistics/Widget/ForumStatistics.php:110

Generated by: Oblivion Knight Mar 2, 2023 at 11:04 AM

---

#0 src/addons/SyTryC/AdditionalStatistics/Widget/ForumStatistics.php(110): XF\Template\Templater->handleTemplateError(2, '[E_WARNING] Und...', '/home/umbrellao...', 110)
#1 internal_data/code_cache/widgets/_9_forum_overview_forum_statistics.php(5): SyTryC\AdditionalStatistics\Widget\ForumStatistics->render()
#2 src/XF/Template/Templater.php(7679): XF\SubContainer\Widget->{closure}(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), Array, Array)
#3 src/XF/SubContainer/Widget.php(168): XF\Template\Templater->renderWidgetClosure(Object(Closure), Array)
#4 src/XF/Template/Templater.php(1937): XF\SubContainer\Widget->getCompiledWidget(Array, Array)
#5 internal_data/code_cache/templates/l1/s3/public/forum_list.php(227): XF\Template\Templater->widgetPosition('forum_list_belo...', Array)
#6 src/XF/Template/Templater.php(1652): XF\Template\Templater->{closure}(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), Array, NULL)
#7 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('forum_list', Array)
#8 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#9 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XF:Forum\\Listin...', 'public:forum_li...', Array)
#10 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#11 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#12 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#13 src/XF/App.php(2483): XF\Mvc\Dispatcher->run()
#14 src/XF.php(524): XF\App->run()
#15 index.php(20): XF::runApp('XF\\Pub\\App')
#16 {main}
}
Code:
ErrorException: Template error: [E_WARNING] Undefined variable $forumItems src/addons/SyTryC/AdditionalStatistics/Widget/ForumStatistics.php:98

Generated by: Oblivion Knight Mar 2, 2023 at 11:04 AM

---

#0 src/addons/SyTryC/AdditionalStatistics/Widget/ForumStatistics.php(98): XF\Template\Templater->handleTemplateError(2, '[E_WARNING] Und...', '/home/umbrellao...', 98)
#1 internal_data/code_cache/widgets/_9_forum_overview_forum_statistics.php(5): SyTryC\AdditionalStatistics\Widget\ForumStatistics->render()
#2 src/XF/Template/Templater.php(7679): XF\SubContainer\Widget->{closure}(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), Array, Array)
#3 src/XF/SubContainer/Widget.php(168): XF\Template\Templater->renderWidgetClosure(Object(Closure), Array)
#4 src/XF/Template/Templater.php(1937): XF\SubContainer\Widget->getCompiledWidget(Array, Array)
#5 internal_data/code_cache/templates/l1/s3/public/forum_list.php(227): XF\Template\Templater->widgetPosition('forum_list_belo...', Array)
#6 src/XF/Template/Templater.php(1652): XF\Template\Templater->{closure}(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), Array, NULL)
#7 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('forum_list', Array)
#8 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#9 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XF:Forum\\Listin...', 'public:forum_li...', Array)
#10 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#11 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#12 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#13 src/XF/App.php(2483): XF\Mvc\Dispatcher->run()
#14 src/XF.php(524): XF\App->run()
#15 index.php(20): XF::runApp('XF\\Pub\\App')
#16 {main}
Thanks, we'll share an update compatible with PHP 8.1 ;)

Regards, SyTry
 
Back
Top Bottom