Partial fix Server error logs

Affected version
2.0.0

Nirjonadda

Well-known member
#1
I have found Server error logs in my admin CP.

Code:
XF\Db\DuplicateKeyException: MySQL query error [1062]: Duplicate entry '12700-password' for key 'PRIMARY' src/XF/Db/AbstractStatement.php:212

Generated by: Unknown account Nov 30, 2017 at 10:39 PM

Stack trace

INSERT  INTO xf_user_confirmation (`user_id`, `confirmation_type`, `confirmation_key`, `confirmation_date`) VALUES (?, ?, ?, ?)
------------

#0 src/XF/Db/Mysqli/Statement.php(174): XF\Db\AbstractStatement->getException('MySQL query err...', 1062, '23000')
#1 src/XF/Db/Mysqli/Statement.php(69): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1062, '23000')
#2 src/XF/Db/AbstractAdapter.php(69): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(145): XF\Db\AbstractAdapter->query('INSERT  INTO xf...', Array)
#4 src/XF/Mvc/Entity/Entity.php(1381): XF\Db\AbstractAdapter->insert('xf_user_confirm...', Array)
#5 src/XF/Mvc/Entity/Entity.php(1113): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/XF/Service/User/AbstractConfirmationService.php(61): XF\Mvc\Entity\Entity->save()
#7 src/XF/Pub/Controller/LostPassword.php(45): XF\Service\User\AbstractConfirmationService->triggerConfirmation()
#8 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\LostPassword->actionIndex(Object(XF\Mvc\ParameterBag))
#9 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:LostPassword', 'Index', 'json', Object(XF\Mvc\ParameterBag), '', Object(XF\Pub\Controller\LostPassword), NULL)
#10 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#11 src/XF/App.php(1879): XF\Mvc\Dispatcher->run()
#12 src/XF.php(328): XF\App->run()
#13 index.php(13): XF::runApp('XF\\Pub\\App')
#14 {main}

Request state

array(4) {
  ["url"] => string(15) "/lost-password/"
  ["referrer"] => string(38) "/login/login"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(7) {
    ["email"] => string(21) "@gmail.com"
    ["captcha_question_answer"] => string(5) "Dhaka"
    ["captcha_question_hash"] => string(40) "7bf41f41f6adf40e6831c48cfad525e7ed587b32"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(12) "/login/login"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
Code:
ErrorException: [E_WARNING] filesize(): stat failed for <path> src/XF/Service/ImageProxy.php:174

Generated by: Unknown account Nov 30, 2017 at 7:46 PM

Stack trace

#0 [internal function]: XF::handlePhpError(2, '[E_WARNING] fil...', '/home/nadda/pub...', 174, Array)
#1 src/XF/Service/ImageProxy.php(174): filesize('/home/nadda/pub...')
#2 src/XF/Service/ImageProxy.php(104): XF\Service\ImageProxy->fetchImageDataFromUrl('http://s11.post...')
#3 src/XF/Service/ImageProxy.php(39): XF\Service\ImageProxy->refetchImage(Object(XF\Entity\ImageProxy))
#4 src/XF/Proxy/Controller.php(108): XF\Service\ImageProxy->getImage('http://s11.post...')
#5 proxy.php(29): XF\Proxy\Controller->outputImage('http://s11.post...', '9802a1f9053b893...')
#6 {main}

Request state

array(4) {
  ["url"] => string(120) "/proxy.php?image=<url>&hash=9802a1f9053b89370adfdb13e2e75f42"
  ["referrer"] => string(52) "/threads/gimmy-kimmy.5976/"
  ["_GET"] => array(2) {
    ["image"] => string(55) "<url>"
    ["hash"] => string(32) "9802a1f9053b89370adfdb13e2e75f42"
  }
  ["_POST"] => array(0) {
  }
}
 
Last edited by a moderator:

Nirjonadda

Well-known member
#2
One more error log:

Code:
InvalidArgumentException: Accessed unknown getter 'Promotions' on XF:Post[264546] src/XF/Mvc/Entity/Entity.php:179

Generated by: Unknown account Dec 2, 2017 at 6:07 AM

Stack trace

#0 src/XF/Mvc/Entity/Entity.php(97): XF\Mvc\Entity\Entity->get('Promotions')
#1 internal_data/code_cache/templates/l1/s22/public/post_macros.php(374): XF\Mvc\Entity\Entity->offsetGet('Promotions')
#2 src/XF/Template/Templater.php(643): XF\Template\Templater->{closure}(Object(DBTech\Shop\XF\Template\Templater), Array, Array)
#3 internal_data/code_cache/templates/l1/s22/public/thread_view.php(516): XF\Template\Templater->callMacro('post_macros', 'post', Array, Array)
#4 src/XF/Template/Templater.php(1230): XF\Template\Templater->{closure}(Object(DBTech\Shop\XF\Template\Templater), Array)
#5 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('thread_view', Array)
#6 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#7 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#8 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#9 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#10 src/XF/App.php(1879): XF\Mvc\Dispatcher->run()
#11 src/XF.php(328): XF\App->run()
#12 index.php(13): XF::runApp('XF\\Pub\\App')
#13 {main}

Request state

array(4) {
  ["url"] => string(33) "/threads/amar-ma-er-ghotona.5752/"
  ["referrer"] => string(58) "/forums/cest-choti.112/page-21"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 

Nirjonadda

Well-known member
#3
One more error log.

Code:
Server error log

    XF\Db\DuplicateKeyException: MySQL query error [1062]: Duplicate entry '4-0' for key 'tag_id_user_id' src/XF/Db/AbstractStatement.php:212

    Generated by: Unknown account Dec 8, 2017 at 10:36 PM

Stack trace

INSERT  INTO xf_tag_result_cache (`tag_id`, `user_id`, `expiry_date`, `results`, `result_cache_id`, `cache_date`) VALUES (?, ?, ?, ?, ?, ?)
------------

#0 src/XF/Db/Mysqli/Statement.php(174): XF\Db\AbstractStatement->getException('MySQL query err...', 1062, '23000')
#1 src/XF/Db/Mysqli/Statement.php(69): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1062, '23000')
#2 src/XF/Db/AbstractAdapter.php(69): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(145): XF\Db\AbstractAdapter->query('INSERT  INTO xf...', Array)
#4 src/XF/Mvc/Entity/Entity.php(1381): XF\Db\AbstractAdapter->insert('xf_tag_result_c...', Array)
#5 src/XF/Mvc/Entity/Entity.php(1113): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/XF/Pub/Controller/Tag.php(147): XF\Mvc\Entity\Entity->save()
#7 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Tag->actionTag(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Tag', 'Tag', 'html', Object(XF\Mvc\ParameterBag), '', Object(XF\Pub\Controller\Tag), Object(XF\Mvc\Reply\Reroute))
#9 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#10 src/XF/App.php(1879): XF\Mvc\Dispatcher->run()
#11 src/XF.php(328): XF\App->run()
#12 index.php(13): XF::runApp('XF\\Pub\\App')
#13 {main}

Request state

array(4) {
  ["url"] => string(8) "/tags/4/"
  ["referrer"] => string(27) "https://googleweblight.com/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 

Nirjonadda

Well-known member
#4
One more server error log.

Code:
XF\Db\DuplicateKeyException: MySQL query error [1062]: Duplicate entry '76-0' for key 'tag_id_user_id' src/XF/Db/AbstractStatement.php:212

Generated by: Unknown account Dec 9, 2017 at 11:40 AM

Stack trace

INSERT  INTO xf_tag_result_cache (`tag_id`, `user_id`, `expiry_date`, `results`, `result_cache_id`, `cache_date`) VALUES (?, ?, ?, ?, ?, ?)
------------

#0 src/XF/Db/Mysqli/Statement.php(174): XF\Db\AbstractStatement->getException('MySQL query err...', 1062, '23000')
#1 src/XF/Db/Mysqli/Statement.php(69): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1062, '23000')
#2 src/XF/Db/AbstractAdapter.php(69): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(145): XF\Db\AbstractAdapter->query('INSERT  INTO xf...', Array)
#4 src/XF/Mvc/Entity/Entity.php(1381): XF\Db\AbstractAdapter->insert('xf_tag_result_c...', Array)
#5 src/XF/Mvc/Entity/Entity.php(1113): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/XF/Pub/Controller/Tag.php(147): XF\Mvc\Entity\Entity->save()
#7 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Tag->actionTag(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Tag', 'Tag', 'html', Object(XF\Mvc\ParameterBag), '', Object(XF\Pub\Controller\Tag), Object(XF\Mvc\Reply\Reroute))
#9 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#10 src/XF/App.php(1879): XF\Mvc\Dispatcher->run()
#11 src/XF.php(328): XF\App->run()
#12 index.php(13): XF::runApp('XF\\Pub\\App')
#13 {main}

Request state

array(4) {
  ["url"] => string(9) "/tags/76/"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 

Nirjonadda

Well-known member
#5
one error log.

Code:
TypeError: Argument 1 passed to XF\Template\Templater::setMediaSites() must be of the type array, boolean given, called in /home/nadda/public_html/src/XF/App.php on line 1446 src/XF/Template/Templater.php:383

Generated by: Unknown account Dec 9, 2017 at 11:27 PM

Stack trace

#0 src/XF/App.php(1446): XF\Template\Templater->setMediaSites(false)
#1 src/XF/App.php(1078): XF\App->setupTemplaterObject(Object(XF\Container), 'ThemeHouse\\Reac...')
#2 src/XF/Container.php(28): XF\App->XF\{closure}(Object(XF\Container))
#3 src/XF/App.php(2640): XF\Container->offsetGet('templater')
#4 src/XF/Pub/App.php(348): XF\App->templater()
#5 src/XF/Mvc/Dispatcher.php(280): XF\Pub\App->preRender(Object(XF\Mvc\Reply\View), 'html')
#6 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#7 src/XF/App.php(1879): XF\Mvc\Dispatcher->run()
#8 src/XF.php(328): XF\App->run()
#9 index.php(13): XF::runApp('XF\\Pub\\App')
#10 {main}

Request state

array(4) {
  ["url"] => string(1) "/"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 

Nirjonadda

Well-known member
#6
More error log.

Code:
XF\Db\DuplicateKeyException: MySQL query error [1062]: Duplicate entry '157-0' for key 'tag_id_user_id' src/XF/Db/AbstractStatement.php:212

Generated by: Unknown account Dec 10, 2017 at 12:27 PM

Stack trace

INSERT  INTO xf_tag_result_cache (`tag_id`, `user_id`, `expiry_date`, `results`, `result_cache_id`, `cache_date`) VALUES (?, ?, ?, ?, ?, ?)
------------

#0 src/XF/Db/Mysqli/Statement.php(174): XF\Db\AbstractStatement->getException('MySQL query err...', 1062, '23000')
#1 src/XF/Db/Mysqli/Statement.php(69): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1062, '23000')
#2 src/XF/Db/AbstractAdapter.php(69): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(145): XF\Db\AbstractAdapter->query('INSERT  INTO xf...', Array)
#4 src/XF/Mvc/Entity/Entity.php(1381): XF\Db\AbstractAdapter->insert('xf_tag_result_c...', Array)
#5 src/XF/Mvc/Entity/Entity.php(1113): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/XF/Pub/Controller/Tag.php(147): XF\Mvc\Entity\Entity->save()
#7 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Tag->actionTag(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Tag', 'Tag', 'html', Object(XF\Mvc\ParameterBag), '', Object(XF\Pub\Controller\Tag), Object(XF\Mvc\Reply\Reroute))
#9 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#10 src/XF/App.php(1879): XF\Mvc\Dispatcher->run()
#11 src/XF.php(328): XF\App->run()
#12 index.php(13): XF::runApp('XF\\Pub\\App')
#13 {main}

Request state

array(4) {
  ["url"] => string(10) "/tags/157/"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
Code:
XF\Db\DuplicateKeyException: MySQL query error [1062]: Duplicate entry '76-0' for key 'tag_id_user_id' src/XF/Db/AbstractStatement.php:212

Generated by: Unknown account Dec 10, 2017 at 11:05 AM

Stack trace

INSERT  INTO xf_tag_result_cache (`tag_id`, `user_id`, `expiry_date`, `results`, `result_cache_id`, `cache_date`) VALUES (?, ?, ?, ?, ?, ?)
------------

#0 src/XF/Db/Mysqli/Statement.php(174): XF\Db\AbstractStatement->getException('MySQL query err...', 1062, '23000')
#1 src/XF/Db/Mysqli/Statement.php(69): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1062, '23000')
#2 src/XF/Db/AbstractAdapter.php(69): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(145): XF\Db\AbstractAdapter->query('INSERT  INTO xf...', Array)
#4 src/XF/Mvc/Entity/Entity.php(1381): XF\Db\AbstractAdapter->insert('xf_tag_result_c...', Array)
#5 src/XF/Mvc/Entity/Entity.php(1113): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/XF/Pub/Controller/Tag.php(147): XF\Mvc\Entity\Entity->save()
#7 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Tag->actionTag(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Tag', 'Tag', 'html', Object(XF\Mvc\ParameterBag), '', Object(XF\Pub\Controller\Tag), Object(XF\Mvc\Reply\Reroute))
#9 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#10 src/XF/App.php(1879): XF\Mvc\Dispatcher->run()
#11 src/XF.php(328): XF\App->run()
#12 index.php(13): XF::runApp('XF\\Pub\\App')
#13 {main}

Request state

array(4) {
  ["url"] => string(9) "/tags/76/"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
#9
Sure...here you go:

Code:
TypeError: Argument 1 passed to XF\Template\Templater::setUserBanners() must be of the type array, boolean given, called in /var/sites/y/yellowsforum.co.uk/public_html/src/XF/App.php on line 1449 src/XF/Template/Templater.php:397
Generated by: Unknown account Dec 15, 2017 at 7:46 AM

#0 src/XF/App.php(1449): XF\Template\Templater->setUserBanners(false, Array)
#1 src/XF/App.php(1078): XF\App->setupTemplaterObject(Object(XF\Container), 'XF\\Template\\Tem...')
#2 src/XF/Container.php(28): XF\App->XF\{closure}(Object(XF\Container))
#3 src/XF/App.php(2640): XF\Container->offsetGet('templater')
#4 src/XF/Pub/App.php(348): XF\App->templater()
#5 src/XF/Mvc/Dispatcher.php(280): XF\Pub\App->preRender(Object(XF\Mvc\Reply\View), 'html')
#6 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#7 src/XF/App.php(1879): XF\Mvc\Dispatcher->run()
#8 src/XF.php(328): XF\App->run()
#9 index.php(13): XF::runApp('XF\\Pub\\App')
#10 {main}

array(4) {
  ["url"] => string(23) "/forums/uk-football.10/"
  ["referrer"] => string(27) "https://yellowsforum.co.uk/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
or

Code:
TypeError: Argument 1 passed to XF\Template\Templater::setGroupStyles() must be of the type array, boolean given, called in /var/sites/y/yellowsforum.co.uk/public_html/src/XF/App.php on line 1450 src/XF/Template/Templater.php:406

#0 src/XF/App.php(1450): XF\Template\Templater->setGroupStyles(false)
#1 src/XF/App.php(1078): XF\App->setupTemplaterObject(Object(XF\Container), 'XF\\Template\\Tem...')
#2 src/XF/Container.php(28): XF\App->XF\{closure}(Object(XF\Container))
#3 src/XF/App.php(2640): XF\Container->offsetGet('templater')
#4 src/XF/Pub/App.php(348): XF\App->templater()
#5 src/XF/Mvc/Dispatcher.php(280): XF\Pub\App->preRender(Object(XF\Mvc\Reply\Error), 'html')
#6 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\Error), 'html')
#7 src/XF/App.php(1879): XF\Mvc\Dispatcher->run()
#8 src/XF.php(328): XF\App->run()
#9 index.php(13): XF::runApp('XF\\Pub\\App')
#10 {main}

array(4) {
  ["url"] => string(27) "/thread/26505/james-roberts"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 

Chris D

XenForo developer
Staff member
#10
Have you only seen those ones once or do they keep happening? Is this an upgrade from XF1 or an import from another forum software?
 

Nirjonadda

Well-known member
#12
One more new error log.

Code:
TypeError: Argument 1 passed to XF\Mvc\Router::setRouteFilters() must be of the type array, null given, called in /home/nadda/public_html/src/XF/App.php on line 284 src/XF/Mvc/Router.php:52

Generated by: Unknown account Dec 17, 2017 at 3:04 AM

Stack trace

#0 src/XF/App.php(284): XF\Mvc\Router->setRouteFilters(NULL, NULL)
#1 src/XF/Container.php(28): XF\App->XF\{closure}(Object(XF\Container))
#2 src/XF/Pub/App.php(35): XF\Container->offsetGet('router.public')
#3 src/XF/Container.php(28): XF\Pub\App->XF\Pub\{closure}(Object(XF\Container))
#4 src/XF/App.php(2022): XF\Container->offsetGet('router')
#5 src/XF/Mvc/Dispatcher.php(350): XF\App->router()
#6 src/XF/Mvc/Dispatcher.php(51): XF\Mvc\Dispatcher->getRouter()
#7 src/XF/Mvc/Dispatcher.php(40): XF\Mvc\Dispatcher->route('threads/14981/p...')
#8 src/XF/App.php(1879): XF\Mvc\Dispatcher->run()
#9 src/XF.php(328): XF\App->run()
#10 index.php(13): XF::runApp('XF\\Pub\\App')
#11 {main}

Request state

array(4) {
  ["url"] => string(23) "/threads/14981/page-133"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 

Nirjonadda

Well-known member
#13
Server error log.

Code:
LogicException: Unknown relation content_user_id accessed on xf_report src/XF/Mvc/Entity/Finder.php:88

Generated by: abcde Dec 17, 2017 at 3:22 PM

Stack trace

#0 src/addons/DBTech/Credits/XF/Entity/ReportComment.php(18): XF\Mvc\Entity\Finder->__get('content_user_id')
#1 src/XF/Mvc/Entity/Entity.php(1226): DBTech\Credits\XF\Entity\ReportComment->_preSave()
#2 src/XF/Mvc/Entity/Entity.php(1246): XF\Mvc\Entity\Entity->preSave()
#3 src/XF/Service/Report/Creator.php(169): XF\Mvc\Entity\Entity->preSave()
#4 src/XF/Service/ValidateAndSavableTrait.php(17): XF\Service\Report\Creator->_validate()
#5 src/XF/ControllerPlugin/Report.php(43): XF\Service\Report\Creator->validate(NULL)
#6 src/XF/Pub/Controller/Conversation.php(1037): XF\ControllerPlugin\Report->actionReport('conversation_me...', Object(ThemeHouse\Reactions\XF\Entity\ConversationMessage), '/conversations/...', '/conversations/...', Array)
#7 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Conversation->actionMessagesReport(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Conversation', 'Messagesreport', 'json', Object(XF\Mvc\ParameterBag), 'conversations', Object(XF\Pub\Controller\Conversation), NULL)
#9 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#10 src/XF/App.php(1879): XF\Mvc\Dispatcher->run()
#11 src/XF.php(328): XF\App->run()
#12 index.php(13): XF::runApp('XF\\Pub\\App')
#13 {main}

Request state

array(4) {
  ["url"] => string(36) "/conversations/messages/21953/report"
  ["referrer"] => string(55) "/conversations/nothing.21027/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(5) {
    ["message"] => string(27) "
i don't know this person."
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(29) "/conversations/nothing.21027/"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 

Nirjonadda

Well-known member
#14
@Mike @Chris D Does we need report separate thread for each log?

Code:
ErrorException: [E_NOTICE] getimagesize(): Read error! src/XF/Service/ImageProxy.php:174

Generated by: Unknown account Dec 18, 2017 at 3:35 AM

Stack trace

#0 [internal function]: XF::handlePhpError(8, '[E_NOTICE] geti...', '/home/nadda/pub...', 174, Array)
#1 src/XF/Service/ImageProxy.php(174): getimagesize('/home/nadda/pub...')
#2 src/XF/Service/ImageProxy.php(104): XF\Service\ImageProxy->fetchImageDataFromUrl('http://www.****...')
#3 src/XF/Service/ImageProxy.php(39): XF\Service\ImageProxy->refetchImage(Object(XF\Entity\ImageProxy))
#4 src/XF/Proxy/Controller.php(108): XF\Service\ImageProxy->getImage('http://www.****...')
#5 proxy.php(29): XF\Proxy\Controller->outputImage('http://www.****...', '2e486cde45712d1...')
#6 {main}

Request state

array(4) {
  ["url"] => string(195) "/proxy.php?image=http"
  ["referrer"] => bool(false)
  ["_GET"] => array(2) {
    ["image"] => string(112) ".jpg"
    ["hash"] => string(32) "2e486cde45712d1ac239fdd600054eef"
  }
  ["_POST"] => array(0) {
  }
}
 

Nirjonadda

Well-known member
#16
Fixed in a hotfix to DB Credits, thanks.


Fillip
Thanks, I think other error happening from xenforo? This log happened lot of time.

Code:
XF\Db\DuplicateKeyException: MySQL query error [1062]: Duplicate entry '10-19970' for key 'tag_id_user_id' src/XF/Db/AbstractStatement.php:212

Generated by: opurbo Dec 18, 2017 at 4:30 AM

Stack trace

INSERT  INTO xf_tag_result_cache (`tag_id`, `user_id`, `expiry_date`, `results`, `result_cache_id`, `cache_date`) VALUES (?, ?, ?, ?, ?, ?)
------------

#0 src/XF/Db/Mysqli/Statement.php(174): XF\Db\AbstractStatement->getException('MySQL query err...', 1062, '23000')
#1 src/XF/Db/Mysqli/Statement.php(69): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1062, '23000')
#2 src/XF/Db/AbstractAdapter.php(69): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(145): XF\Db\AbstractAdapter->query('INSERT  INTO xf...', Array)
#4 src/XF/Mvc/Entity/Entity.php(1381): XF\Db\AbstractAdapter->insert('xf_tag_result_c...', Array)
#5 src/XF/Mvc/Entity/Entity.php(1113): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/XF/Pub/Controller/Tag.php(147): XF\Mvc\Entity\Entity->save()
#7 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Tag->actionTag(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Tag', 'Tag', 'html', Object(XF\Mvc\ParameterBag), '', Object(XF\Pub\Controller\Tag), Object(XF\Mvc\Reply\Reroute))
#9 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#10 src/XF/App.php(1879): XF\Mvc\Dispatcher->run()
#11 src/XF.php(328): XF\App->run()
#12 index.php(13): XF::runApp('XF\\Pub\\App')
#13 {main}

Request state

array(4) {
  ["url"] => string(9) "/tags/10/"
  ["referrer"] => string(41) /threads/27654/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 

Mike

XenForo developer
Staff member
#17
Does we need report separate thread for each log?
Yes, they really should be as the errors reported here range from:
  • Already fixed
  • Duplicates of each other
  • Potentially caused by an add-on
  • Potentially caused by general server issues (as we have seen in the past, you've had various errors that generally relate to high server load and the cascading failure that tends to happen from that)
As such, I'm going to mark this fixed as the most common issues should really be resolved here. In future, please only include one error per thread.
 

Jake B.

Well-known member
#20
No, This error log are not generated with Tapatalk. Tapatalk issue here and lot of error log happen from ThemeHouse\Reactions with Tapatalk.
Ah great, so they are aware of the issue. Wasn't able to find a way to contact them without having a site owner account :) more details on why this happens is here. It'll cause the issue with any add-on that extends the same classes Tapatalk is extending
 
Top