-
HTML Editor
Hello, We recently upgraded our test site from IPS 4.7 to 5.0.15. After I installed your app, I went to the control panel for HTML editor and tried to turn on the option for Group permissions, but the system would not save my settings. When I went to my forum listpage, I got this error: Here is error log entry: The URL of page the error occurred on was https://stage.npnparents.org/forums/topic/133-start-new-topic-anonymously-6232025/ Type: template_error TypeError: IPS\Member::inGroup(): Argument #1 ($group) must be of type IPS\Member\Group|array|int, string given, called in /home/ec2-user/stage.npnparents.org/applications/htmleditor/Application.php on line 34 and defined in /home/ec2-user/stage.npnparents.org/system/Member/Member.php:2238 Stack trace: #0 /home/ec2-user/stage.npnparents.org/applications/htmleditor/Application.php(34): IPS\Member->inGroup('4,12') #1 /home/ec2-user/stage.npnparents.org/applications/htmleditor/extensions/core/UIComment/forumsPost.php(73): IPS\htmleditor\Application::canEditHtml() #2 /home/ec2-user/stage.npnparents.org/system/Output/UI/UiExtension.php(103): IPS\htmleditor\extensions\core\UIComment\forumsPost->menuItems(Object(IPS\forums\Topic\Post)) #3 /home/ec2-user/stage.npnparents.org/system/Content/Content.php(1988): IPS\Output\UI\UiExtension->run(Object(IPS\forums\Topic\Post), 'menuItems', Array) #4 /home/ec2-user/stage.npnparents.org/system/Content/Comment.php(2054): IPS\Content->ui('menuItems', Array, true) #5 /home/ec2-user/stage.npnparents.org/static/templates/forums_front_topics.php(3074): IPS\Content\Comment->menu() #6 /home/ec2-user/stage.npnparents.org/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_forums_front_topics->postHeader(Object(IPS\forums\Topic), Object(IPS\forums\Topic\Post), 'pid', Array) #7 /home/ec2-user/stage.npnparents.org/static/templates/forums_front_topics.php(2639): IPS\Theme\SandboxedTemplate->__call('postHeader', Array) #8 /home/ec2-user/stage.npnparents.org/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_forums_front_topics->postContainer(Object(IPS\forums\Topic), Object(IPS\forums\Topic\Post), '', Array) #9 /home/ec2-user/stage.npnparents.org/static/templates/forums_front_topics.php(4433): IPS\Theme\SandboxedTemplate->__call('postContainer', Array) #10 /home/ec2-user/stage.npnparents.org/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_forums_front_topics->topic(Object(IPS\forums\Topic), Array, NULL, NULL, NULL, Array) #11 /home/ec2-user/stage.npnparents.org/applications/forums/modules/front/forums/topic.php(706): IPS\Theme\SandboxedTemplate->__call('topic', Array) #12 /home/ec2-user/stage.npnparents.org/system/Dispatcher/Controller.php(139): IPS\forums\modules\front\forums\topic->manage() #13 /home/ec2-user/stage.npnparents.org/system/Content/Controller.php(125): IPS\Dispatcher\Controller->execute() #14 /home/ec2-user/stage.npnparents.org/applications/forums/modules/front/forums/topic.php(83): IPS\Content\Controller->execute() #15 /home/ec2-user/stage.npnparents.org/system/Dispatcher/Dispatcher.php(169): IPS\forums\modules\front\forums\topic->execute() #16 /home/ec2-user/stage.npnparents.org/index.php(16): IPS\Dispatcher->run() #17 {main} Backtrace: #0 /home/ec2-user/stage.npnparents.org/system/Theme/SandboxedTemplate.php(78): IPS\Log::log('TypeError: IPS\\...', 'template_error') #1 /home/ec2-user/stage.npnparents.org/static/templates/forums_front_topics.php(2639): IPS\Theme\SandboxedTemplate->__call('postHeader', Array) #2 /home/ec2-user/stage.npnparents.org/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_forums_front_topics->postContainer(Object(IPS\forums\Topic), Object(IPS\forums\Topic\Post), '', Array) #3 /home/ec2-user/stage.npnparents.org/static/templates/forums_front_topics.php(4433): IPS\Theme\SandboxedTemplate->__call('postContainer', Array) #4 /home/ec2-user/stage.npnparents.org/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_forums_front_topics->topic(Object(IPS\forums\Topic), Array, NULL, NULL, NULL, Array) #5 /home/ec2-user/stage.npnparents.org/applications/forums/modules/front/forums/topic.php(706): IPS\Theme\SandboxedTemplate->__call('topic', Array) #6 /home/ec2-user/stage.npnparents.org/system/Dispatcher/Controller.php(139): IPS\forums\modules\front\forums\topic->manage() #7 /home/ec2-user/stage.npnparents.org/system/Content/Controller.php(125): IPS\Dispatcher\Controller->execute() #8 /home/ec2-user/stage.npnparents.org/applications/forums/modules/front/forums/topic.php(83): IPS\Content\Controller->execute() #9 /home/ec2-user/stage.npnparents.org/system/Dispatcher/Dispatcher.php(169): IPS\forums\modules\front\forums\topic->execute() #10 /home/ec2-user/stage.npnparents.org/index.php(16): IPS\Dispatcher->run() #11 {main} How can I fix these issues? I turned off your app for now so that we can continue to test IPS 5.0. Thank you.
NPN80dolsch
Members
-
Joined
-
Last visited