Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Resolved Getting some ErrorException: [E_WARNING] errors related to Showcase and FindNew

Discussion in 'Showcase Support' started by Will123, Oct 11, 2020.

  1. Will123

    Will123 New Member CAS Premium SC Premium UBS Premium

    After upgrade. I’m facing up some serious server issues here .

    • ErrorException: [E_WARNING] Declaration of XenAddons\Showcase\FindNew\ItemComment::filterResults(XF\Mvc\Entity\ArrayCollection $results) should be compatible with XF\FindNew\AbstractHandler::filterResults(XF\Mvc\Entity\AbstractCollection $results)
    • src/addons/XenAddons/Showcase/FindNew/ItemComment.php:135
    • Generated by: Unknown account
    • Oct 11, 2020 at 3:41 AM
    • #0 src/addons/XenAddons/Showcase/FindNew/ItemComment.php(9): XF::handlePhpError(2, '[E_WARNING] Dec...', '/home/dB...', 135, Array)
      #1 src/vendor/composer/ClassLoader.php(444): include('/home/Db...')
      #2 src/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/home/db...')
      #3 [internal function]: Composer\Autoload\ClassLoader->loadClass('XenAddons\\Showc...')
      #4 [internal function]: spl_autoload_call('XenAddons\\Showc...')
      #5 src/XF/Repository/FindNew.php(72): class_exists('XenAddons\\Showc...')
      #6 src/XF/ControllerPlugin/FindNew.php(87): XF\Repository\FindNew->getFindNewHandler('sc_comment')
      #7 src/XF/Pub/Controller/AbstractWhatsNewFindType.php(20): XF\ControllerPlugin\FindNew->getFindNewHandler('sc_comment')
      #8 src/XF/Mvc/Dispatcher.php(350): XF\Pub\Controller\AbstractWhatsNewFindType->actionIndex(Object(XF\Mvc\ParameterBag))
      #9 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XenAddons\\Showc...', 'Index', Object(XF\Mvc\RouteMatch), Object(XenAddons\Showcase\Pub\Controller\WhatsNewComment), NULL)
      #10 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XenAddons\Showcase\Pub\Controller\WhatsNewComment), NULL)
      #11 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
      #12 src/XF/App.php(2300): XF\Mvc\Dispatcher->run()
      #13 src/XF.php(464): XF\App->run()
      #14 index.php(20): XF::runApp('XF\\Pub\\App')
      #15 {main}

  2. Bob

    Bob Developer Staff Member

    There is nothing "SERIOUS" about this error so you can breath easy ;) Its just a warning saying that the signature of a method is not matching.

    This error is due to a signature change in the findnew system that XenForo made in XF 2.2.0 Beta 4 that breaks backwards compatibility: XF 2.2 - XF\FindNew\AbstractHandler->filterResults BC break - 2.2 Beta 4

    If you upgraded to XF 2.2.0 Beta 4 or greater and then turned your site back on while you were still running XF 2.1 versions of addons, this would cause issues when any of those addons that have findnew system handlers (like Showcase).

    If you have upgraded Showcase to Showcase 3.2.0 Beta 4 or greater, you can just dismiss those errors as SC 3.2.0 Beta 4 implemented the change.

    if you are running a NON XF 2.2. version of Showcase, you need to upgrade to the latest stable version of Showcase, SC 3.2.0. And once you do that, those errors will stop when people try use any of the "New Showcase Items" or "New Showcase Comments" functions in the FindNew system.
  3. Will123

    Will123 New Member CAS Premium SC Premium UBS Premium

    I'm running on xf2.2 stable version Bob :) . And seems I got this issue often, can you check it out please,
  4. Bob

    Bob Developer Staff Member

    You need to ensure that you have upgraded SHOWCASE to SC 3.2.0 (which is the XF 2.2 version of Showcase). Those errors will go away when you properly upgrade Showcase to the XF 2.2 version of Showcase.
    Will123 likes this.
  5. Will123

    Will123 New Member CAS Premium SC Premium UBS Premium

    I think I had upgraded Bob. Let me do it again anyway.
  6. Will123

    Will123 New Member CAS Premium SC Premium UBS Premium

    Just upgraded Bob. Hope this will be fixed. Will get back to you soon anyway .
    Bob likes this.
  7. Bob

    Bob Developer Staff Member

    Clear all those OLD errors out. Then go to Find New section and click on "New showcase items" or "New showcase comments" and then check the admin CP... there should be no new errors like the ones generated before.
    Will123 likes this.
  8. Will123

    Will123 New Member CAS Premium SC Premium UBS Premium

    Looks all good now Bob. Thanks a lot.
    Bob likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.