Jump to content

How to install new default theme?


Go to solution Solved by Jim M,

Recommended Posts

Ok, thanks. Then theres is a bug, because that theme creates errors.

 

The log entry was triggered by a guest (Vieras / Guest)
TypeError: array_sum(): Argument #1 ($array) must be of type array, int given in /home/*******/public_html/foorumi/system/Theme/Theme.php(885) : eval()'d code:4797
Stack trace:
#0 /home/***/public_html/foorumi/system/Theme/Theme.php(885) : eval()'d code(4797): array_sum(218)
#1 /home/***/public_html/foorumi/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_global_global->poll(Object(IPS\Poll), Object(IPS\Http\Url\Friendly))
#2 /home/***/public_html/foorumi/system/Poll/Poll.php(520): IPS\Theme\_SandboxedTemplate->__call('poll', Array)
#3 /home/***/public_html/foorumi/system/Theme/Theme.php(885) : eval()'d code(4709): IPS\_Poll->__toString()
#4 /home/***/public_html/foorumi/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_topics->topic(Object(IPS\forums\Topic), Array, NULL, Array, NULL, NULL, Array)
#5 /home/***/public_html/foorumi/applications/forums/modules/front/forums/topic.php(611): IPS\Theme\_SandboxedTemplate->__call('topic', Array)
#6 /home/***/public_html/foorumi/system/Dispatcher/Controller.php(118): IPS\forums\modules\front\forums\_topic->manage()
#7 /home/***/public_html/foorumi/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute()
#8 /home/***/public_html/foorumi/applications/forums/modules/front/forums/topic.php(39): IPS\Content\_Controller->execute()
#9 /home/***/public_html/foorumi/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\front\forums\_topic->execute()
#10 /home/***/public_html/foorumi/index.php(13): IPS\_Dispatcher->run()
#11 {main}
#0 /home/***/public_html/foorumi/system/Theme/SandboxedTemplate.php(71): IPS\_Log::log(Object(TypeError), 'template_error')
#1 /home/***/public_html/foorumi/system/Poll/Poll.php(520): IPS\Theme\_SandboxedTemplate->__call('poll', Array)
#2 /home/***/public_html/foorumi/system/Theme/Theme.php(885) : eval()'d code(4709): IPS\_Poll->__toString()
#3 /home/***/public_html/foorumi/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_topics->topic(Object(IPS\forums\Topic), Array, NULL, Array, NULL, NULL, Array)
#4 /home/***/public_html/foorumi/applications/forums/modules/front/forums/topic.php(611): IPS\Theme\_SandboxedTemplate->__call('topic', Array)
#5 /home/***/public_html/foorumi/system/Dispatcher/Controller.php(118): IPS\forums\modules\front\forums\_topic->manage()
#6 /home/***/public_html/foorumi/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute()
#7 /home/***/public_html/foorumi/applications/forums/modules/front/forums/topic.php(39): IPS\Content\_Controller->execute()
#8 /home/***/public_html/foorumi/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\front\forums\_topic->execute()
#9 /home/***/public_html/foorumi/index.php(13): IPS\_Dispatcher->run()
#10 {main}

 

Link to comment
Share on other sites

There are no 3th party hooks installed. One custom skin, wich i disabled from guest now.

note: this isnt a forum what are linked in my personal account here. I'm co-admin one another site.

Edited by Owdy
Link to comment
Share on other sites

More info. I clicked topic link what are in error log. I get this as guest:
 

[[Template core/global/global/poll is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

If i login as user, it shows poll.

Edited by Owdy
Link to comment
Share on other sites

Unfortunately, I am not having any issues creating a new, unmodified theme on the community in question.

In the System Log, I am seeing and able to reproduce that the poll issue is happening on old topics from 2014 and earlier. I am assuming these are from the migration which took place from SMF, is this correct? Could I confirm that all data was converted via our converter?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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