XF2 [8WR] XenPorta 2 (Portal) PRO

XF2 [8WR] XenPorta 2 (Portal) PRO [Paid] 2.3.0.4

No permission to buy ($40.00)
Hey guys, I just updated to XF 2.3.7 and started receiving the following errors:
  • ErrorException: Template error: [E_USER_WARNING] Method showPortaAuthor is not callable on the given object (XF\Entity\Thread)
  • src/XF/Template/Templater.php:1277
  • ErrorException: Template error: [E_USER_WARNING] Method isPortaArticle is not callable on the given object (XF\Entity\Thread)
  • src/XF/Template/Templater.php:1277

    I tried using thew default theme but am still getting these errors. Any help would be greatly appreciated.
 
That kind of error is usually related to another addon failing to extend entity classes correctly. Try disabling other addons one by one to pinpoint the issue.
 
That kind of error is usually related to another addon failing to extend entity classes correctly. Try disabling other addons one by one to pinpoint the issue.
Thanks for the reply @Jaxel The site only had 4 addons, which I disabled all and am still receiving the errors. Here are more details on some of the errors:
  • TypeError: Extension public:thread_view :: structured_data() error: XF\ThreadType\AbstractHandler::isPostVotingSupported(): Argument #2 ($post) must be of type XF\Entity\Post, null given, called in /home/talkdep/domains/domain/public_html/src/XF/ThreadType/AbstractHandler.php on line 333
  • src/XF/ThreadType/AbstractHandler.php:523
  • Generated by: Unknown account
  • Jan 3, 2026 at 4:34 PM

Stack trace​

#0 src/XF/ThreadType/AbstractHandler.php(333): XF\ThreadType\AbstractHandler->isPostVotingSupported(Object(EWR\Porta\Entity\Thread), NULL)
#1 src/XF/Entity/Thread.php(856): XF\ThreadType\AbstractHandler->getLdStructuredData(Object(EWR\Porta\Entity\Thread), Object(EWR\Porta\Entity\Post), 1, Array)
#2 src/XF/Template/Templater.php(1282): XF\Entity\Thread->getLdStructuredData(Object(EWR\Porta\Entity\Post), 1, Array)
#3 internal_data/code_cache/templates/l1/s15/public/thread_view.php(19): XF\Template\Templater->method(Object(EWR\Porta\Entity\Thread), 'getLdStructured...', Array)
#4 src/XF/Template/Templater.php(1092): XF\Template\Templater->{closure:internal_data/code_cache/templates/l1/s15/public/thread_view.php:14}(Object(XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#5 src/XF/Template/Templater.php(1028): XF\Template\Templater->renderExtensionInternal('structured_data', Array, Array, Object(XF\Template\ExtensionSet))
#6 internal_data/code_cache/templates/l1/s15/public/thread_view.php(680): XF\Template\Templater->renderExtension('structured_data', Array, Object(XF\Template\ExtensionSet))
#7 src/XF/Template/Templater.php(1799): XF\Template\Templater->{closure:internal_data/code_cache/templates/l1/s15/public/thread_view.php:593}(Object(XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#8 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('thread_view', Array)
#9 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#10 src/XF/Mvc/Dispatcher.php(471): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#11 src/XF/Mvc/Dispatcher.php(453): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#12 src/XF/Mvc/Dispatcher.php(412): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#13 src/XF/Mvc/Dispatcher.php(66): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#14 src/XF/App.php(2824): XF\Mvc\Dispatcher->run()
#15 src/XF.php(806): XF\App->run()
#16 index.php(23): XF::runApp('XF\\Pub\\App')
#17 {main}

Request state​

array(4) {
["url"] => string(43) "/threads/article-what-causes-depression.37/"
["referrer"] => bool(false)
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}




  • ErrorException: Template error: [E_WARNING] Attempt to read property "message" on null
  • src/XF/ThreadType/AbstractHandler.php:326
  • Generated by: Unknown account
  • Jan 3, 2026 at 4:34 PM

Stack trace​

#0 src/XF/ThreadType/AbstractHandler.php(326): XF\Template\Templater->handleTemplateError(2, '[E_WARNING] Att...', '/home/talkdep/d...', 326)
#1 src/XF/Entity/Thread.php(856): XF\ThreadType\AbstractHandler->getLdStructuredData(Object(EWR\Porta\Entity\Thread), Object(EWR\Porta\Entity\Post), 1, Array)
#2 src/XF/Template/Templater.php(1282): XF\Entity\Thread->getLdStructuredData(Object(EWR\Porta\Entity\Post), 1, Array)
#3 internal_data/code_cache/templates/l1/s15/public/thread_view.php(19): XF\Template\Templater->method(Object(EWR\Porta\Entity\Thread), 'getLdStructured...', Array)
#4 src/XF/Template/Templater.php(1092): XF\Template\Templater->{closure:internal_data/code_cache/templates/l1/s15/public/thread_view.php:14}(Object(XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#5 src/XF/Template/Templater.php(1028): XF\Template\Templater->renderExtensionInternal('structured_data', Array, Array, Object(XF\Template\ExtensionSet))
#6 internal_data/code_cache/templates/l1/s15/public/thread_view.php(680): XF\Template\Templater->renderExtension('structured_data', Array, Object(XF\Template\ExtensionSet))
#7 src/XF/Template/Templater.php(1799): XF\Template\Templater->{closure:internal_data/code_cache/templates/l1/s15/public/thread_view.php:593}(Object(XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#8 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('thread_view', Array)
#9 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#10 src/XF/Mvc/Dispatcher.php(471): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#11 src/XF/Mvc/Dispatcher.php(453): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#12 src/XF/Mvc/Dispatcher.php(412): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#13 src/XF/Mvc/Dispatcher.php(66): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#14 src/XF/App.php(2824): XF\Mvc\Dispatcher->run()
#15 src/XF.php(806): XF\App->run()
#16 index.php(23): XF::runApp('XF\\Pub\\App')
#17 {main}

Request state​

array(4) {
["url"] => string(43) "/threads/article-what-causes-depression.37/"
["referrer"] => bool(false)
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
  • ErrorException: Template error: [E_WARNING] Attempt to read property "last_edit_date" on null
  • src/XF/ThreadType/AbstractHandler.php:316
  • Generated by: Unknown account
  • Jan 3, 2026 at 4:34 PM

Stack trace​

#0 src/XF/ThreadType/AbstractHandler.php(316): XF\Template\Templater->handleTemplateError(2, '[E_WARNING] Att...', '/home/talkdep/d...', 316)
#1 src/XF/Entity/Thread.php(856): XF\ThreadType\AbstractHandler->getLdStructuredData(Object(EWR\Porta\Entity\Thread), Object(EWR\Porta\Entity\Post), 1, Array)
#2 src/XF/Template/Templater.php(1282): XF\Entity\Thread->getLdStructuredData(Object(EWR\Porta\Entity\Post), 1, Array)
#3 internal_data/code_cache/templates/l1/s15/public/thread_view.php(19): XF\Template\Templater->method(Object(EWR\Porta\Entity\Thread), 'getLdStructured...', Array)
#4 src/XF/Template/Templater.php(1092): XF\Template\Templater->{closure:internal_data/code_cache/templates/l1/s15/public/thread_view.php:14}(Object(XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#5 src/XF/Template/Templater.php(1028): XF\Template\Templater->renderExtensionInternal('structured_data', Array, Array, Object(XF\Template\ExtensionSet))
#6 internal_data/code_cache/templates/l1/s15/public/thread_view.php(680): XF\Template\Templater->renderExtension('structured_data', Array, Object(XF\Template\ExtensionSet))
#7 src/XF/Template/Templater.php(1799): XF\Template\Templater->{closure:internal_data/code_cache/templates/l1/s15/public/thread_view.php:593}(Object(XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#8 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('thread_view', Array)
#9 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#10 src/XF/Mvc/Dispatcher.php(471): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#11 src/XF/Mvc/Dispatcher.php(453): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#12 src/XF/Mvc/Dispatcher.php(412): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#13 src/XF/Mvc/Dispatcher.php(66): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#14 src/XF/App.php(2824): XF\Mvc\Dispatcher->run()
#15 src/XF.php(806): XF\App->run()
#16 index.php(23): XF::runApp('XF\\Pub\\App')
#17 {main}

Request state​

array(4) {
["url"] => string(43) "/threads/article-what-causes-depression.37/"
["referrer"] => bool(false)
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
 
Last edited:
What version of XF are you running? Try removing the article promotion for that thread.
 
I just bought and installed the plugin. I can create categories and authors, but when I click on News, it says “No items!” I also can't create any articles. What do I need to do to be able to create an article?

1770543139142.webp
 
I am an admin, and I have now reset the settings there as shown in the image. Unfortunately, I still cannot create any articles. Do I need to reload or something?
 
Thank you! And how can add a Slider? Sorry for the stupid questions.
There are no stupid questions.
Under Appearance >> Widget


 
Last edited:
I have two more questions:

Question 1: I now have two home pages (Navigation). How can I reduce this to just one?

Question 2: How can I add “What's New” from the forum below the news section? I would like to have this as my start page, i.e.:

News
What's New

Thank you
 
Areas for improvement in terms of speed/performance is CLS and image handling.
  • CLS
    <div class="p-body-main p-body-main--withSidebar "&gt;. 0,16 CLS contribution. The first article on the grid. Anything over 0,1 is deemed to need improvements.
    1674649229676.png

    "Element moved 400px to the bottom", so the cause is the feature slider loading AFTER the container of the articles perhaps, thus causing it to shift down..
    1674649203336.png
    • Lazy load off screen images. (feature images that are not the front/hero image). If you have many feature article images in your slider, this can provide a sizeable hit to your performance.
    • Front/hero image prioritization: Can you add fetchpriority=high as default to the front image in the feature carousel? It improves LCP and is recommended by PageSpeed.
    • Properly sized images for mobile/narrow. All images should have S/M/L versions to serve depending on the screen size of the viewer. This is critical for mobile performance.

@Jaxel If possible to have a look at :)
 
Back
Top Bottom