Anatoliy
Well-known member
they say that a wise man every day starts a new life. jul just joined the club )Not really, you can still build the site and work with the beta.
they say that a wise man every day starts a new life. jul just joined the club )Not really, you can still build the site and work with the beta.
or by watching others )We learn things by making mistakes.
and we learn "not to do" things )Not necessarily, others can be doing things wrong.
for my forums I have a ton of add-ons which quite a large amount of them are screaming template errors that are not callable
Freud would say that when you were making your decision, an option to start this thread seemed more valuable for you than your small community, otherwise you'd backup.I will be the example of one you should not want to be.
Luckily it's just for a small community - in the end not a big deal.
Were those errors caused during the update to 2.2, or are they still be thrown? 2.2 hasn't made any significant changes (with the exception of the Zend framework) that would break most add-ons, so those add-ons should not be throwing errors unless they make use of the Zend framework.
Freud would say that when you were making your decision, an option to start this thread seemed more valuable for you than your small community, otherwise you'd backup.
I am all the bad things you think I am.
And Freud would reply, that it's a classical example of a projection. )Exactly, I am all the bad things you think I am.
I don't have to pay for these therapy lessons right?And Freud would reply, that it's a classical example of a projection. )
Is it me, thinking that you're all that bad things, or is it you, thinking that I'm thinking so?
humor is still with you. you'll survive.I don't have to pay for these therapy lessons right?
There is, but it requires expert knowledge and time.ps. there is no way to revert it back a version ago right?
Were those errors caused during the update to 2.2, or are they still be thrown? 2.2 hasn't made any significant changes (with the exception of the Zend framework) that would break most add-ons, so those add-ons should not be throwing errors unless they make use of the Zend framework.
[LIST]
[*]ErrorException: Template error: Method canViewMedia is not callable on the given object (XF\Entity\User)
[*]src/XF/Template/Templater.php:1160
[*]Generated by: x
[*]Jul 25, 2020 at 7:25 PM
[/LIST]
[HEADING=2]Stack trace[/HEADING]
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Method canViewM...', '/home/name/...', 1160, Array)
#1 src/XF/Template/Templater.php(1160): trigger_error('Method canViewM...', 512)
#2 internal_data/code_cache/navigation_cache.php(513): XF\Template\Templater->method(Object(XF\Entity\User), 'canViewMedia', Array)
#3 src/XF/Template/Templater.php(7264): XF\Pub\App->{closure}(Object(XF\Template\Templater), NULL, Array)
#4 src/XF/Pub/App.php(573): XF\Template\Templater->renderNavigationClosure(Object(Closure), NULL, Array)
#5 src/XF/Pub/App.php(526): XF\Pub\App->getNavigation(Array, NULL)
#6 src/XF/App.php(2075): XF\Pub\App->renderPageHtml('
<div class...', Array, Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#7 src/XF/Mvc/Dispatcher.php(402): XF\App->renderPage('
<div class...', Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#8 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#9 src/XF/App.php(2270): XF\Mvc\Dispatcher->run()
#10 src/XF.php(417): XF\App->run()
#11 index.php(20): XF::runApp('XF\\Pub\\App')
#12 {main}
...or are they still be thrown?
So did you finish the upgrade and it started to throw errors when you visit a forum? Or 'oops' happened during the upgrade?They are getting spammed in the error logs.
It takes some time to track down what add-ons are causing these issues. I don't really see the name of an add-on in this one for example.
Yes it finished and then started to throw errors.So did you finish the upgrade and it started to throw errors when you visit a forum? Or 'oops' happened during the upgrade?
I would disable all add-ons (not uninstall). So if you lucky and will get it fixed, you'll enable them one by one. All the data created by add-ons will be still there. If this would not help, I would revert all customized templates.
well, then more chances that you are alive, than you are dead )Yes it finished and then started to throw errors.
We use essential cookies to make this site work, and optional cookies to enhance your experience.