1. REGISTRATION REQUIREMENTS:

    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.

Partial Fix Error With Reports

Discussion in 'Showcase Resolved Bug Reports' started by BamaStangGuy, May 10, 2020.

Thread Status:
Not open for further replies.
  1. BamaStangGuy

    BamaStangGuy Member SC Premium UBS Premium Pickem

    Latest version of XenForo 2.1 and Showcase. Not sure if it is you or Xon.

    Code:
    Server error log
    ErrorException: [E_NOTICE] Undefined index: comment src/addons/XenAddons/Showcase/Report/Comment.php:115
    Generated by: Unknown account May 10, 2020 at 3:27 AM
    Stack trace
    #0 src/addons/XenAddons/Showcase/Report/Comment.php(115): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/nginx/dom...', 115, Array)
    #1 src/addons/SV/ReportImprovements/Search/Data/Report.php(127): XenAddons\Showcase\Report\Comment->getContentMessage(Object(SV\ReportImprovements\XF\Entity\Report))
    #2 src/XF/Search/Search.php(37): SV\ReportImprovements\Search\Data\Report->getIndexData(Object(SV\ReportImprovements\XF\Entity\Report))
    #3 src/XF/Search/Search.php(59): XF\Search\Search->index('report', Object(SV\ReportImprovements\XF\Entity\Report))
    #4 src/XF/Search/Search.php(85): XF\Search\Search->indexEntities('report', Object(XF\Mvc\Entity\ArrayCollection))
    #5 src/XF/Job/SearchRebuild.php(57): XF\Search\Search->indexRange('report', 0, 500)
    #6 src/XF/Job/Manager.php(253): XF\Job\SearchRebuild->run(8)
    #7 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, 8)
    #8 src/XF/Job/Manager.php(146): XF\Job\Manager->runJobEntry(Array, 8)
    #9 src/XF/Cli/Command/JobRunnerTrait.php(30): XF\Job\Manager->runUnique('xfRebuildJob-se...', 8)
    #10 src/XF/Cli/Command/JobRunnerTrait.php(13): XF\Cli\Command\Rebuild\AbstractRebuildCommand->runJob('xfRebuildJob-se...', Object(Symfony\Component\Console\Output\ConsoleOutput))
    #11 src/XF/Cli/Command/Rebuild/AbstractRebuildCommand.php(82): XF\Cli\Command\Rebuild\AbstractRebuildCommand->setupAndRunJob('xfRebuildJob-se...', 'XF:SearchRebuil...', Array, Object(Symfony\Component\Console\Output\ConsoleOutput))
    #12 src/vendor/symfony/console/Command/Command.php(255): XF\Cli\Command\Rebuild\AbstractRebuildCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #13 src/vendor/symfony/console/Application.php(982): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #14 src/vendor/symfony/console/Application.php(255): Symfony\Component\Console\Application->doRunCommand(Object(XF\Cli\Command\Rebuild\RebuildSearch), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #15 src/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #16 src/XF/Cli/Runner.php(63): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #17 cmd.php(15): XF\Cli\Runner->run()
    #18 {main}
    Request state
    array(1) {
      ["cli"] => string(25) "cmd.php xf-rebuild:search"
    }
     
  2. Bob

    Bob Developer Staff Member

    Could be either, but its looking more like its a Showcase issue (probably due to legacy data from XF1).
     
  3. Bob

    Bob Developer Staff Member

    As I suspected, its a legacy data issue... I've made some modifications that should prevent errors from being thrown (I'll need you to test this out before I push out a release tho). @BamaStangGuy Are you going to be available any time this week?
     
Thread Status:
Not open for further replies.
  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.