ErrorException: [E_NOTICE] Array to string conversion src/XF/Repository/TemplateModification.php:118
Generated by: Nirjonmela Jul 13, 2018 at 7:02 PM
Stack trace
#0 [internal function]: XF::handlePhpError(8, '[E_NOTICE] Arra...', '/home/nadda/pub...', 118, Array)
#1 src/XF/Repository/TemplateModification.php(118): preg_replace_callback('/<div class="me...', Array, '<xf:macro name=...')
#2 src/XF/Repository/TemplateModification.php(53): XF\Repository\TemplateModification->applyTemplateModifications('<xf:macro name=...', Array, Array)
#3 src/XF/Entity/Template.php(185): XF\Repository\TemplateModification->applyModificationsToTemplate('public', 'post_macros', '<xf:macro name=...', Array)
#4 src/XF/Entity/Template.php(121): XF\Entity\Template->validateTemplateText('<xf:macro name=...', false, NULL, NULL)
#5 src/XF/Entity/TemplateModification.php(102): XF\Entity\Template->reparseTemplate()
#6 src/XF/Entity/TemplateModification.php(157): XF\Entity\TemplateModification->reparseTemplate(Object(DBTech\Security\XF\Entity\Template))
#7 src/XF/Mvc/Entity/Entity.php(1145): XF\Entity\TemplateModification->_postSave()
#8 src/XF/AddOn/DataType/TemplateModification.php(78): XF\Mvc\Entity\Entity->save(true, false)
#9 src/XF/Job/AddOnData.php(108): XF\AddOn\DataType\TemplateModification->importAddOnData('VigLink/VigLink', Object(SimpleXMLElement), 0, 7.9999971389771)
#10 src/XF/Job/Manager.php(241): XF\Job\AddOnData->run(7.9999971389771)
#11 src/XF/Job/Manager.php(187): XF\Job\Manager->runJobInternal(Array, 7.9999971389771)
#12 src/XF/Job/Manager.php(103): XF\Job\Manager->runJobEntry(Array, 7.9999971389771)
#13 src/XF/Admin/Controller/Tools.php(120): XF\Job\Manager->runByIds(Array, 8)
#14 src/XF/Mvc/Dispatcher.php(249): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#15 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', 'html', Object(XF\Mvc\ParameterBag), 'tools', Object(ThemeHouse\QAForums\XF\Admin\Controller\Tools), NULL)
#16 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#17 src/XF/App.php(1931): XF\Mvc\Dispatcher->run()
#18 src/XF.php(328): XF\App->run()
#19 admin.php(13): XF::runApp('XF\\Admin\\App')
#20 {main}
Request state
array(4) {
["url"] => string(24) "/admin.php?tools/run-job"
["referrer"] => string(46) "/admin.php?tools/run-job"
["_GET"] => array(1) {
["tools/run-job"] => string(0) ""
}
["_POST"] => array(3) {
["_xfRedirect"] => string(123) "/admin.php?add-ons/VigLink-VigLink/finalize&t=1531486946%2C824b30f64d229ab65841b8d46c0b4487&a=install"
["_xfToken"] => string(8) "********"
["only_ids"] => string(4) "3915"
}
}