XF 2.0 Accessed unknown getter 'Include threads from this forum when users click "New posts"' on XF:Forum[unsaved]

cosmin85

Active member
Hi
I have this errors on my new fresh install of xf 2


Code:
InvalidArgumentException: Accessed unknown getter 'Include threads from this forum when users click "New posts"' on XF:Forum[unsaved] src/XF/Mvc/Entity/Entity.php:182

Code:
#0 src/XF/Mvc/Entity/Entity.php(100): XF\Mvc\Entity\Entity->get('Include threads...')
#1 internal_data/code_cache/templates/l1/s0/admin/forum_edit.php(312): XF\Mvc\Entity\Entity->offsetGet('Include threads...')
#2 src/XF/Template/Templater.php(1250): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array)
#3 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('forum_edit', Array)
#4 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#5 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Html->renderView('XF:Forum\\Edit', 'admin:forum_edi...', Array)
#6 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#7 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#8 src/XF/App.php(1934): XF\Mvc\Dispatcher->run()
#9 src/XF.php(333): XF\App->run()
#10 admin.php(13): XF::runApp('XF\\Admin\\App')
#11 {main}

how can i fox it ? thanks :)
 
Are you running PHP 7.3.0? If so, you're running into an opcache bug. Unfortunately, there isn't anything we can do about it. It should be fixed for 7.3.1 when that's released. Otherwise, you'd need to use PHP 7.2 or disable opcache (which is a much worse alternative for performance).
 
Are you running PHP 7.3.0? If so, you're running into an opcache bug. Unfortunately, there isn't anything we can do about it. It should be fixed for 7.3.1 when that's released. Otherwise, you'd need to use PHP 7.2 or disable opcache (which is a much worse alternative for performance).

Thanks Mike , solved! :)
 
Back
Top Bottom