laravel-dompdf - Japanese IPAex gothic font is not working - laravel-4

I am using Laravel-dompdf to build my pdf file. Here's the open source project I used.
https://github.com/barryvdh/laravel-dompdf/
The errors show when using Japanese ipaex gothic font family in pdf. I have been struggling for the day just to make pdf show me Japanese characters but it doesn't. Here's the error I got.
PS. I have setup everything like symbolic the vendor/phenx/php-font-lib folder to vendor/dompdf/dompdf/lib folder.
exception 'ErrorException' with message 'Undefined offset: 12238'
in /home/vagrant/Code/myPdfProject/vendor/phenx/php-font-lib/classes/Font_Table_post.php:59
Stack trace:
#0 /home/vagrant/Code/myPdfProject/vendor/phenx/php-font-lib/classes/Font_Table_post.php(59): Illuminate\Exception\Handler->handleError(8, 'Undefined offse...', '/home/vagrant/C...', 59, Array)
#1 /home/vagrant/Code/myPdfProject/vendor/phenx/php-font-lib/classes/Font_Table.php(82): Font_Table_post->_parse()
#2 /home/vagrant/Code/myPdfProject/vendor/phenx/php-font-lib/classes/Font_TrueType.php(307): Font_Table->parse()
#3 /home/vagrant/Code/myPdfProject/vendor/phenx/php-font-lib/classes/Font_TrueType.php(117): Font_TrueType->readTable('post')
#4 /home/vagrant/Code/myPdfProject/vendor/dompdf/dompdf/lib/class.pdf.php(2353): Font_TrueType->parse()
#5 /home/vagrant/Code/myPdfProject/vendor/dompdf/dompdf/include/cpdf_adapter.cls.php(737): Cpdf->selectFont('/home/vagrant/C...')
#6 /home/vagrant/Code/myPdfProject/vendor/dompdf/dompdf/include/font_metrics.cls.php(122): CPDF_Adapter->get_font_height('/home/vagrant/C...', 24)
#7 /home/vagrant/Code/myPdfProject/vendor/dompdf/dompdf/include/text_frame_reflower.cls.php(167): Font_Metrics::get_font_height('/home/vagrant/C...', 24)
#8 /home/vagrant/Code/myPdfProject/vendor/dompdf/dompdf/include/text_frame_reflower.cls.php(332): Text_Frame_Reflower->_layout_line()
#9 /home/vagrant/Code/myPdfProject/vendor/dompdf/dompdf/include/frame_decorator.cls.php(711): Text_Frame_Reflower->reflow(Object(Block_Frame_Decorator))
#10 /home/vagrant/Code/myPdfProject/vendor/dompdf/dompdf/include/block_frame_reflower.cls.php(750): Frame_Decorator->reflow(Object(Block_Frame_Decorator))
#11 /home/vagrant/Code/myPdfProject/vendor/dompdf/dompdf/include/frame_decorator.cls.php(711): Block_Frame_Reflower->reflow(Object(Block_Frame_Decorator))
#12 /home/vagrant/Code/myPdfProject/vendor/dompdf/dompdf/include/block_frame_reflower.cls.php(750): Frame_Decorator->reflow(Object(Block_Frame_Decorator))
#13 /home/vagrant/Code/myPdfProject/vendor/dompdf/dompdf/include/frame_decorator.cls.php(711): Block_Frame_Reflower->reflow(NULL)
#14 /home/vagrant/Code/myPdfProject/vendor/dompdf/dompdf/include/page_frame_reflower.cls.php(123): Frame_Decorator->reflow()
#15 /home/vagrant/Code/myPdfProject/vendor/dompdf/dompdf/include/frame_decorator.cls.php(711): Page_Frame_Reflower->reflow(NULL)
#16 /home/vagrant/Code/myPdfProject/vendor/dompdf/dompdf/include/dompdf.cls.php(949): Frame_Decorator->reflow()
#17 /home/vagrant/Code/myPdfProject/vendor/barryvdh/laravel-dompdf/src/PDF.php(210): DOMPDF->render()
#18 /home/vagrant/Code/myPdfProject/vendor/barryvdh/laravel-dompdf/src/PDF.php(156): Barryvdh\DomPDF\PDF->render()
#19 /home/vagrant/Code/myPdfProject/vendor/barryvdh/laravel-dompdf/src/PDF.php(193): Barryvdh\DomPDF\PDF->output()
#20 /home/vagrant/Code/myPdfProject/app/controllers/OrderController.php(236): Barryvdh\DomPDF\PDF->stream()
#21 [internal function]: OrderController->showInvoice('1')
#22 /home/vagrant/Code/myPdfProject/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(231): call_user_func_array(Array, Array)
#23 /home/vagrant/Code/myPdfProject/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(93): Illuminate\Routing\Controller->callAction('showInvoice', Array)
#24 /home/vagrant/Code/myPdfProject/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(62): Illuminate\Routing\ControllerDispatcher->call(Object(OrderController), Object(Illuminate\Routing\Route), 'showInvoice')
#25 /home/vagrant/Code/myPdfProject/vendor/laravel/framework/src/Illuminate/Routing/Router.php(967): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), 'OrderController', 'showInvoice')
#26 [internal function]: Illuminate\Routing\Router->Illuminate\Routing\{closure}('1')
#27 /home/vagrant/Code/myPdfProject/vendor/laravel/framework/src/Illuminate/Routing/Route.php(109): call_user_func_array(Object(Closure), Array)
#28 /home/vagrant/Code/myPdfProject/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1033): Illuminate\Routing\Route->run(Object(Illuminate\Http\Request))
#29 /home/vagrant/Code/myPdfProject/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1001): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#30 /home/vagrant/Code/myPdfProject/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(775): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))
#31 /home/vagrant/Code/myPdfProject/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(745): Illuminate\Foundation\Application->dispatch(Object(Illuminate\Http\Request))
#32 /home/vagrant/Code/myPdfProject/vendor/barryvdh/laravel-debugbar/src/Middleware/Stack.php(34): Illuminate\Foundation\Application->handle(Object(Illuminate\Http\Request), 1, true)
#33 /home/vagrant/Code/myPdfProject/vendor/laravel/framework/src/Illuminate/Session/Middleware.php(72): Barryvdh\Debugbar\Middleware\Stack->handle(Object(Illuminate\Http\Request), 1, true)
#34 /home/vagrant/Code/myPdfProject/vendor/laravel/framework/src/Illuminate/Cookie/Queue.php(47): Illuminate\Session\Middleware->handle(Object(Illuminate\Http\Request), 1, true)
#35 /home/vagrant/Code/myPdfProject/vendor/laravel/framework/src/Illuminate/Cookie/Guard.php(51): Illuminate\Cookie\Queue->handle(Object(Illuminate\Http\Request), 1, true)
#36 /home/vagrant/Code/myPdfProject/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Illuminate\Cookie\Guard->handle(Object(Illuminate\Http\Request), 1, true)
#37 /home/vagrant/Code/myPdfProject/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(641): Stack\StackedHttpKernel->handle(Object(Illuminate\Http\Request))
#38 /home/vagrant/Code/myPdfProject/public/index.php(49): Illuminate\Foundation\Application->run()
#39 {main} [] []
Here's my environment
laravel 4.2
barryvdh/laravel-dompdf (v0.4.6)
dompdf/dompdf (v0.6.1)
phenx/php-font-lib (0.2.2)
Thank you

Related

GuzzleHttp not working inside Laravel Listener

I'm trying to shorten certain URL's using tiny URL API because I'm trying to limit the number of characters sent in an SMS. Usually, I do this:
$sms_url = file_get_contents('http://tinyurl . com/api-create.php?url=http://127.0.0.1:8000/billing/export/view/1/0');
It's not working inside my Listener so I did a test in controller and it worked. I changed it to use GuzzleHttp inside my Listener:
$sms_url = Http::get('http://tinyurl . com/api-create.php?url=http://127.0.0.1:8000/billing/export/view/'.$fixed_data->account_number_id.'/'.$fixed_data->subaccount_number_id);
And I have called the following above my Listener file:
use Illuminate\Support\Facades\Http;
I run my code and it's not working. No error. Just blank. What could be my issue?
UPDATE:
The error in my log file:
[2020-08-09 17:02:32] local.ERROR: SQLSTATE[HY000]: General error: 1364 Field 'sms_url' doesn't have a default value (SQL: insert into `pdf` (`account_number_id`, `created_at`, `created_by`, `name`, `path`, `subaccount_number_id`, `updated_by`) values (4, 2020-08-09 17:02:32, 1229, MDAwNDAyMDIwMDgwOUFWdXQ3, storage/uploads/pdf/MDAwNDAyMDIwMDgwOUFWdXQ3.pdf, 0, 1229)) {"exception":"[object] (Illuminate\\Database\\QueryException(code: HY000): SQLSTATE[HY000]: General error: 1364 Field 'sms_url' doesn't have a default value (SQL: insert into `pdf` (`account_number_id`, `created_at`, `created_by`, `name`, `path`, `subaccount_number_id`, `updated_by`) values (4, 2020-08-09 17:02:32, 1229, MDAwNDAyMDIwMDgwOUFWdXQ3, storage/uploads/pdf/MDAwNDAyMDIwMDgwOUFWdXQ3.pdf, 0, 1229)) at /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Database/Connection.php:671)
[stacktrace]
#0 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Database/Connection.php(631): Illuminate\\Database\\Connection->runQueryCallback('insert into `pd...', Array, Object(Closure))
#1 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Database/Connection.php(465): Illuminate\\Database\\Connection->run('insert into `pd...', Array, Object(Closure))
#2 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Database/Connection.php(417): Illuminate\\Database\\Connection->statement('insert into `pd...', Array)
#3 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2785): Illuminate\\Database\\Connection->insert('insert into `pd...', Array)
#4 /Applications/Work/celeb/app/Listeners/ExportAllListener.php(112): Illuminate\\Database\\Query\\Builder->insert(Array)
#5 [internal function]: App\\Listeners\\ExportAllListener->handle(Object(App\\Events\\ExportAllEvent))
#6 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Events/CallQueuedListener.php(93): call_user_func_array(Array, Array)
#7 [internal function]: Illuminate\\Events\\CallQueuedListener->handle(Object(Illuminate\\Foundation\\Application))
#8 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): call_user_func_array(Array, Array)
#9 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Container/Util.php(37): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#10 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(95): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#11 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(39): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#12 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Container/Container.php(596): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#13 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(94): Illuminate\\Container\\Container->call(Array)
#14 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Illuminate\\Events\\CallQueuedListener))
#15 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Events\\CallQueuedListener))
#16 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(98): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#17 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(83): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Illuminate\\Events\\CallQueuedListener), false)
#18 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}(Object(Illuminate\\Events\\CallQueuedListener))
#19 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Events\\CallQueuedListener))
#20 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(85): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#21 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(59): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Object(Illuminate\\Events\\CallQueuedListener))
#22 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(98): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Array)
#23 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(356): Illuminate\\Queue\\Jobs\\Job->fire()
#24 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(306): Illuminate\\Queue\\Worker->process('database', Object(Illuminate\\Queue\\Jobs\\DatabaseJob), Object(Illuminate\\Queue\\WorkerOptions))
#25 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(132): Illuminate\\Queue\\Worker->runJob(Object(Illuminate\\Queue\\Jobs\\DatabaseJob), 'database', Object(Illuminate\\Queue\\WorkerOptions))
#26 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(112): Illuminate\\Queue\\Worker->daemon('database', 'default', Object(Illuminate\\Queue\\WorkerOptions))
#27 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(96): Illuminate\\Queue\\Console\\WorkCommand->runWorker('database', 'default')
#28 [internal function]: Illuminate\\Queue\\Console\\WorkCommand->handle()
#29 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): call_user_func_array(Array, Array)
#30 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Container/Util.php(37): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#31 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(95): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#32 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(39): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#33 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Container/Container.php(596): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#34 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Console/Command.php(134): Illuminate\\Container\\Container->call(Array)
#35 /Applications/Work/celeb/vendor/symfony/console/Command/Command.php(258): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#36 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Console/Command.php(121): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#37 /Applications/Work/celeb/vendor/symfony/console/Application.php(911): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#38 /Applications/Work/celeb/vendor/symfony/console/Application.php(264): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Queue\\Console\\WorkCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#39 /Applications/Work/celeb/vendor/symfony/console/Application.php(140): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#40 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Console/Application.php(93): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#41 /Applications/Work/celeb/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(129): Illuminate\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#42 /Applications/Work/celeb/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#43 {main}
Based on my understanding, the error occurs because the $sms_url is blank. There's no specific error for the file_get_contents() and Http::get().
file_get_contents() is working perfectly inside Listener. I dd'd in my live server and saw it working. So is Guzzle. I added Http Facade and used Http::post()

magento checkout page error with exception log

the magento checkout page give an error saying
There was an error processing your order
I am getting this error. It was working fine from six months. I haven't changed anything.
Troubleshoot:
I have changed to Magento default theme.
I have changed the domain
Change checkout method
Still not working.
my exception.log
2017-04-17T17:28:18+00:00 ERR (3):
exception 'Mage_Core_Exception' with message 'Invalid block type: Cmsmart_Onestepcheckout_Block_Links' in /home/zprz/public_html/app/Mage.php:595
Stack trace:
#0 /home/zprz/public_html/app/code/core/Mage/Core/Model/Layout.php(495): Mage::throwException('Invalid block t...')
#1 /home/zprz/public_html/app/code/core/Mage/Core/Model/Layout.php(437): Mage_Core_Model_Layout->_getBlockInstance('onestepcheckout...', Array)
#2 /home/zprz/public_html/app/code/core/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock('onestepcheckout...', 'checkout_cart_l...')
#3 /home/zprz/public_html/app/code/core/Mage/Core/Model/Layout.php(239): Mage_Core_Model_Layout->addBlock('onestepcheckout...', 'checkout_cart_l...')
#4 /home/zprz/public_html/app/code/core/Mage/Core/Model/Layout.php(205): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#5 /home/zprz/public_html/app/code/core/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#6 /home/zprz/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks()
#7 /home/zprz/public_html/app/code/core/Mage/Cms/Helper/Page.php(113): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#8 /home/zprz/public_html/app/code/core/Mage/Cms/Helper/Page.php(52): Mage_Cms_Helper_Page->_renderPage(Object(Mage_Cms_IndexController), 'no-route')
#9 /home/zprz/public_html/app/code/core/Mage/Cms/controllers/IndexController.php(75): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), 'no-route')
#10 /home/zprz/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Cms_IndexController->noRouteAction()
#11 /home/zprz/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('noRoute')
#12 /home/zprz/public_html/app/code/local/Elegento/Royal/Controller/Standard.php(82): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#13 /home/zprz/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Elegento_Royal_Controller_Standard->match(Object(Mage_Core_Controller_Request_Http))
#14 /home/zprz/public_html/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#15 /home/zprz/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#16 /home/zprz/public_html/index.php(83): Mage::run('', 'store')
#17 {main}
2017-04-17T17:28:18+00:00 ERR (3):
exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`zprz_mag`.`erp_inventory_warehouse_product`, CONSTRAINT `erp_inventory_warehouse_product_ibfk_1` FOREIGN KEY (`warehouse_id`) REFERENCES `erp_inventory_warehouse` (`warehouse_id`) ON DELETE C)' in /home/zprz/public_html/lib/Zend/Db/Statement/Pdo.php:228
Stack trace:
#0 /home/zprz/public_html/lib/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array)
#1 /home/zprz/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#2 /home/zprz/public_html/app/code/core/Zend/Db/Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#3 /home/zprz/public_html/lib/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#4 /home/zprz/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('INSERT INTO `er...', Array)
#5 /home/zprz/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(504): Zend_Db_Adapter_Pdo_Abstract->query('INSERT INTO `er...', Array)
#6 /home/zprz/public_html/lib/Zend/Db/Adapter/Abstract.php(576): Varien_Db_Adapter_Pdo_Mysql->query('INSERT INTO `er...', Array)
#7 /home/zprz/public_html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(453): Zend_Db_Adapter_Abstract->insert('erp_inventory_w...', Array)
#8 /home/zprz/public_html/app/code/core/Mage/Core/Model/Abstract.php(318): Mage_Core_Model_Resource_Db_Abstract->save(Object(Magestore_Inventory_Model_Warehouseproduct))
#9 /home/zprz/public_html/app/code/local/Magestore/Inventory/Model/Observer.php(1405): Mage_Core_Model_Abstract->save()
#10 /home/zprz/public_html/app/code/core/Mage/Core/Model/App.php(1357): Magestore_Inventory_Model_Observer->salesOrderPlaceAfter(Object(Varien_Event_Observer))
#11 /home/zprz/public_html/app/code/core/Mage/Core/Model/App.php(1336): Mage_Core_Model_App->_callObserverMethod(Object(Magestore_Inventory_Model_Observer), 'salesOrderPlace...', Object(Varien_Event_Observer))
#12 /home/zprz/public_html/app/Mage.php(448): Mage_Core_Model_App->dispatchEvent('sales_order_pla...', Array)
#13 /home/zprz/public_html/app/code/core/Mage/Sales/Model/Order.php(1117): Mage::dispatchEvent('sales_order_pla...', Array)
#14 [internal function]: Mage_Sales_Model_Order->place()
#15 /home/zprz/public_html/app/code/core/Mage/Core/Model/Resource/Transaction.php(105): call_user_func(Array)
#16 /home/zprz/public_html/app/code/core/Mage/Core/Model/Resource/Transaction.php(159): Mage_Core_Model_Resource_Transaction->_runCallbacks()
#17 /home/zprz/public_html/app/code/core/Mage/Sales/Model/Service/Quote.php(189): Mage_Core_Model_Resource_Transaction->save()
#18 /home/zprz/public_html/app/code/core/Mage/Sales/Model/Service/Quote.php(249): Mage_Sales_Model_Service_Quote->submitOrder()
#19 /home/zprz/public_html/app/code/core/Mage/Checkout/Model/Type/Onepage.php(812): Mage_Sales_Model_Service_Quote->submitAll()
#20 /home/zprz/public_html/app/code/core/Mage/Checkout/controllers/OnepageController.php(579): Mage_Checkout_Model_Type_Onepage->saveOrder()
#21 /home/zprz/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Checkout_OnepageController->saveOrderAction()
#22 /home/zprz/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('saveOrder')
#23 /home/zprz/public_html/app/code/local/Elegento/Royal/Controller/Standard.php(82): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#24 /home/zprz/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Elegento_Royal_Controller_Standard->match(Object(Mage_Core_Controller_Request_Http))
#25 /home/zprz/public_html/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#26 /home/zprz/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#27 /home/zprz/public_html/index.php(83): Mage::run('', 'store')
#28 {main}
You have problem with the warehouse plugin (most probably magestore inventory). During the insert in the database there is something wrong that happens. Not knowing so much about the module or the environment, I just can tell you that the request tries to create or update a dependent table but does not succeed. The reasons are multiple but most probably the row alread exists.

Magento Error: SQLSTATE[HY000] [1045] Access denied for user 'bn_magento'#'localhost'

a:4:{i:0;s:92:
"SQLSTATE[HY000] [1045] Access denied for user 'bn_magento'#'localhost' (using password: YES)";i:1;s:5974:"
#0 C:\xampp\apps\magento\htdocs\vendor\magento\zendframework1\library\Zend\Db\Adapter\Pdo\Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 C:\xampp\apps\magento\htdocs\lib\internal\Magento\Framework\DB\Adapter\Pdo\Mysql.php(328): Zend_Db_Adapter_Pdo_Mysql->_connect()
#2 C:\xampp\apps\magento\htdocs\vendor\magento\zendframework1\library\Zend\Db\Adapter\Abstract.php(460): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect()
#3 C:\xampp\apps\magento\htdocs\vendor\magento\zendframework1\library\Zend\Db\Adapter\Pdo\Abstract.php(238): Zend_Db_Adapter_Abstract->query('SET NAMES utf8;', Array)
#4 C:\xampp\apps\magento\htdocs\lib\internal\Magento\Framework\DB\Adapter\Pdo\Mysql.php(433): Zend_Db_Adapter_Pdo_Abstract->query('SET NAMES utf8;', Array)
#5 C:\xampp\apps\magento\htdocs\lib\internal\Magento\Framework\DB\Adapter\Pdo\Mysql.php(488): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SET NAMES utf8;', Array)
#6 C:\xampp\apps\magento\htdocs\lib\internal\Magento\Framework\Model\Resource\Type\Db\Pdo\Mysql.php(63): Magento\Framework\DB\Adapter\Pdo\Mysql->query('SET NAMES utf8;')
#7 C:\xampp\apps\magento\htdocs\lib\internal\Magento\Framework\Model\Resource\Type\Db\ConnectionFactory.php(43): Magento\Framework\Model\Resource\Type\Db\Pdo\Mysql->getConnection(Object(Magento\Framework\DB\Logger\Null))
#8 C:\xampp\apps\magento\htdocs\lib\internal\Magento\Framework\App\Resource\ConnectionFactory.php(24): Magento\Framework\Model\Resource\Type\Db\ConnectionFactory->create(Array)
#9 C:\xampp\apps\magento\htdocs\lib\internal\Magento\Framework\App\Resource.php(113): Magento\Framework\App\Resource\ConnectionFactory->create(Array)
#10 C:\xampp\apps\magento\htdocs\lib\internal\Magento\Framework\App\Resource.php(93): Magento\Framework\App\Resource->getConnectionByName('default')
#11 C:\xampp\apps\magento\htdocs\lib\internal\Magento\Framework\Model\Resource\Db\AbstractDb.php(305): Magento\Framework\App\Resource->getConnection('core_write')
#12 C:\xampp\apps\magento\htdocs\lib\internal\Magento\Framework\Model\Resource\Db\AbstractDb.php(335): Magento\Framework\Model\Resource\Db\AbstractDb->_getConnection('write')
#13 C:\xampp\apps\magento\htdocs\lib\internal\Magento\Framework\Model\Resource\Db\AbstractDb.php(320): Magento\Framework\Model\Resource\Db\AbstractDb->_getWriteAdapter()
#14 C:\xampp\apps\magento\htdocs\lib\internal\Magento\Framework\Model\Resource\Db\AbstractDb.php(345): Magento\Framework\Model\Resource\Db\AbstractDb->_getReadAdapter()
#15 C:\xampp\apps\magento\htdocs\var\generation\Magento\Store\Model\Resource\Website\Interceptor.php(89): Magento\Framework\Model\Resource\Db\AbstractDb->getReadConnection()
#16 C:\xampp\apps\magento\htdocs\lib\internal\Magento\Framework\Model\Resource\Db\Collection\AbstractCollection.php(123): Magento\Store\Model\Resource\Website\Interceptor->getReadConnection()
#17 C:\xampp\apps\magento\htdocs\lib\internal\Magento\Framework\ObjectManager\Factory\AbstractFactory.php(107): Magento\Framework\Model\Resource\Db\Collection\AbstractCollection->__construct(Object(Magento\Framework\Data\Collection\EntityFactory), Object(Magento\Framework\Logger\Monolog), Object(Magento\Framework\Data\Collection\Db\FetchStrategy\Cache), Object(Magento\Framework\Event\Manager\Proxy), NULL, NULL)
#18 C:\xampp\apps\magento\htdocs\lib\internal\Magento\Framework\ObjectManager\Factory\Dynamic\Developer.php(91): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Store\\M...', Array)
#19 C:\xampp\apps\magento\htdocs\lib\internal\Magento\Framework\ObjectManager\ObjectManager.php(57): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Store\\M...', Array)
#20 C:\xampp\apps\magento\htdocs\var\generation\Magento\Store\Model\Resource\Website\CollectionFactory.php(43): Magento\Framework\ObjectManager\ObjectManager->create('\\Magento\\Store\\...', Array)
#21 C:\xampp\apps\magento\htdocs\app\code\Magento\Store\Model\Storage\Db.php(198): Magento\Store\Model\Resource\Website\CollectionFactory->create()
#22 C:\xampp\apps\magento\htdocs\app\code\Magento\Store\Model\Storage\Db.php(468): Magento\Store\Model\Storage\Db->_initStores()
#23 C:\xampp\apps\magento\htdocs\app\code\Magento\Store\Model\StorageFactory.php(142): Magento\Store\Model\Storage\Db->reinitStores()
#24 C:\xampp\apps\magento\htdocs\app\code\Magento\Store\Model\StorageFactory.php(117): Magento\Store\Model\StorageFactory->_reinitStores(Object(Magento\Store\Model\Storage\Db), Array)
#25 C:\xampp\apps\magento\htdocs\app\code\Magento\Store\Model\StoreManager.php(121): Magento\Store\Model\StorageFactory->get(Array)
#26 C:\xampp\apps\magento\htdocs\app\code\Magento\Store\Model\StoreManager.php(187): Magento\Store\Model\StoreManager->_getStorage()
#27 C:\xampp\apps\magento\htdocs\app\code\Magento\Store\App\Request\PathInfoProcessor.php(35): Magento\Store\Model\StoreManager->getStores(false, true)
#28 C:\xampp\apps\magento\htdocs\var\generation\Magento\Store\App\Request\PathInfoProcessor\Proxy.php(95): Magento\Store\App\Request\PathInfoProcessor->process(Object(Magento\Framework\App\Request\Http), '/')
#29 C:\xampp\apps\magento\htdocs\lib\internal\Magento\Framework\App\Request\Http.php(146): Magento\Store\App\Request\PathInfoProcessor\Proxy->process(Object(Magento\Framework\App\Request\Http), '/')
#30 C:\xampp\apps\magento\htdocs\lib\internal\Magento\Framework\HTTP\PhpEnvironment\Request.php(185): Magento\Framework\App\Request\Http->setPathInfo()
#31 C:\xampp\apps\magento\htdocs\lib\internal\Magento\Framework\App\Request\Http.php(189): Magento\Framework\HTTP\PhpEnvironment\Request->getPathInfo()
#32 C:\xampp\apps\magento\htdocs\lib\internal\Magento\Framework\App\Http.php(110): Magento\Framework\App\Request\Http->getFrontName()
#33 C:\xampp\apps\magento\htdocs\lib\internal\Magento\Framework\App\Bootstrap.php(257): Magento\Framework\App\Http->launch()
#34 C:\xampp\apps\magento\htdocs\index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))
#35 {main}
";s:3:"url";s:9:"/magento/";s:11:"script_name";s:18:"/magento/index.php";}
I realized that this error occurred due to the change of the password in cPanel.
So I edited the local.xml file, changed the password to the correct one, and everything was back to normal.
Thanks to everyone that contributed.

Laravel 5: Issue with Eloquent lists method

I can't make heads or tails of the issue I'm having right now but here's what's happening, I'm having an issue with the Eloquent lists method.
The following line:
dd(Quiz::lists('name', 'id')->all());
Returns this error:
ErrorException: explode() expects parameter 2 to be string, array given
The stack trace doesn't really seem to be giving me much to work with either:
[2015-11-10 10:48:17] testing.ERROR: exception 'ErrorException' with message 'explode() expects parameter 2 to be string, array given' in /home/vagrant/.composer/vendor/illuminate/support/helpers.php:404
Stack trace:
#0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'explode() expec...', '/home/vagrant/....', 404, Array)
#1 /home/vagrant/.composer/vendor/illuminate/support/helpers.php(404): explode('.', Array)
#2 /home/vagrant/Web/Laravel/careers_app_server/vendor/laravel/framework/src/Illuminate/Support/Arr.php(319): data_get(Object(stdClass), Array)
#3 /home/vagrant/Web/Laravel/careers_app_server/vendor/laravel/framework/src/Illuminate/Support/Collection.php(428): Illuminate\Support\Arr::pluck(Array, 'name', 'id')
#4 /home/vagrant/Web/Laravel/careers_app_server/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(1572): Illuminate\Support\Collection->pluck('name', 'id')
#5 /home/vagrant/Web/Laravel/careers_app_server/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(244): Illuminate\Database\Query\Builder->lists('name', 'id')
#6 [internal function]: Illuminate\Database\Eloquent\Builder->lists('name', 'id')
#7 /home/vagrant/Web/Laravel/careers_app_server/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(3482): call_user_func_array(Array, Array)
#8 [internal function]: Illuminate\Database\Eloquent\Model->__call('lists', Array)
#9 [internal function]: App\Quiz->lists('name', 'id')
#10 /home/vagrant/Web/Laravel/careers_app_server/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(3496): call_user_func_array(Array, Array)
#11 /home/vagrant/Web/Laravel/careers_app_server/app/Http/Controllers/QuizController.php(21): Illuminate\Database\Eloquent\Model::__callStatic('lists', Array)
#12 /home/vagrant/Web/Laravel/careers_app_server/app/Http/Controllers/QuizController.php(21): App\Quiz::lists('name', 'id')
#13 [internal function]: App\Http\Controllers\QuizController->index()
#14 /home/vagrant/Web/Laravel/careers_app_server/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(256): call_user_func_array(Array, Array)
#15 /home/vagrant/Web/Laravel/careers_app_server/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(164): Illuminate\Routing\Controller->callAction('index', Array)
#16 /home/vagrant/Web/Laravel/careers_app_server/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(112): Illuminate\Routing\ControllerDispatcher->call(Object(App\Http\Controllers\QuizController), Object(Illuminate\Routing\Route), 'index')
#17 [internal function]: Illuminate\Routing\ControllerDispatcher->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#18 /home/vagrant/Web/Laravel/careers_app_server/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(139): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#19 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#20 /home/vagrant/Web/Laravel/careers_app_server/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#21 /home/vagrant/Web/Laravel/careers_app_server/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(114): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#22 /home/vagrant/Web/Laravel/careers_app_server/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(69): Illuminate\Routing\ControllerDispatcher->callWithinStack(Object(App\Http\Controllers\QuizController), Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), 'index')
#23 /home/vagrant/Web/Laravel/careers_app_server/vendor/laravel/framework/src/Illuminate/Routing/Route.php(203): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), 'App\\Http\\Contro...', 'index')
#24 /home/vagrant/Web/Laravel/careers_app_server/vendor/laravel/framework/src/Illuminate/Routing/Route.php(134): Illuminate\Routing\Route->runWithCustomDispatcher(Object(Illuminate\Http\Request))
#25 /home/vagrant/Web/Laravel/careers_app_server/vendor/laravel/framework/src/Illuminate/Routing/Router.php(704): Illuminate\Routing\Route->run(Object(Illuminate\Http\Request))
#26 [internal function]: Illuminate\Routing\Router->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#27 /home/vagrant/Web/Laravel/careers_app_server/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(139): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#28 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#29 /home/vagrant/Web/Laravel/careers_app_server/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#30 /home/vagrant/Web/Laravel/careers_app_server/vendor/laravel/framework/src/Illuminate/Routing/Router.php(706): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#31 /home/vagrant/Web/Laravel/careers_app_server/vendor/laravel/framework/src/Illuminate/Routing/Router.php(671): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))
#32 /home/vagrant/Web/Laravel/careers_app_server/vendor/laravel/framework/src/Illuminate/Routing/Router.php(631): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#33 /home/vagrant/Web/Laravel/careers_app_server/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(236): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))
#34 [internal function]: Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request))
#35 /home/vagrant/Web/Laravel/careers_app_server/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(139): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#36 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#37 /home/vagrant/Web/Laravel/careers_app_server/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#38 /home/vagrant/Web/Laravel/careers_app_server/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(122): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#39 /home/vagrant/Web/Laravel/careers_app_server/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(87): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#40 /home/vagrant/Web/Laravel/careers_app_server/vendor/laravel/framework/src/Illuminate/Foundation/Testing/CrawlerTrait.php(393): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#41 /home/vagrant/Web/Laravel/careers_app_server/vendor/laravel/framework/src/Illuminate/Foundation/Testing/CrawlerTrait.php(70): Illuminate\Foundation\Testing\TestCase->call('GET', 'api/quiz', Array, Array, Array, Array)
#42 /home/vagrant/Web/Laravel/careers_app_server/tests/QuizTest.php(27): Illuminate\Foundation\Testing\TestCase->get('api/quiz')
#43 [internal function]: QuizTest->testRequestQuizList()
#44 /home/vagrant/Web/Laravel/careers_app_server/vendor/phpunit/phpunit/src/Framework/TestCase.php(909): ReflectionMethod->invokeArgs(Object(QuizTest), Array)
#45 /home/vagrant/Web/Laravel/careers_app_server/vendor/phpunit/phpunit/src/Framework/TestCase.php(768): PHPUnit_Framework_TestCase->runTest()
#46 /home/vagrant/Web/Laravel/careers_app_server/vendor/phpunit/phpunit/src/Framework/TestResult.php(612): PHPUnit_Framework_TestCase->runBare()
#47 /home/vagrant/Web/Laravel/careers_app_server/vendor/phpunit/phpunit/src/Framework/TestCase.php(724): PHPUnit_Framework_TestResult->run(Object(QuizTest))
#48 /home/vagrant/Web/Laravel/careers_app_server/vendor/phpunit/phpunit/src/Framework/TestSuite.php(747): PHPUnit_Framework_TestCase->run(Object(PHPUnit_Framework_TestResult))
#49 /home/vagrant/Web/Laravel/careers_app_server/vendor/phpunit/phpunit/src/Framework/TestSuite.php(747): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#50 /home/vagrant/Web/Laravel/careers_app_server/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(440): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
#51 /home/vagrant/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(154): PHPUnit_TextUI_TestRunner->doRun(Object(PHPUnit_Framework_TestSuite), Array)
#52 /home/vagrant/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(105): PHPUnit_TextUI_Command->run(Array, true)
#53 /home/vagrant/.composer/vendor/phpunit/phpunit/phpunit(47): PHPUnit_TextUI_Command::main()
#54 {main}
I have tested the issue with multiple different models and the issue remained. Could it be environment related? This error occurs when running tests with PHPUnit, I haven't tried it in a non-testing environment yet. Will update post once I have.
Some info:
Laravel version: 5.1.11
Server: Homestead default
EDIT #1
After some testing I found out that the issue only occurs within PHPUnit tests, in the testing environment. The issue does not occur when the method is called via a regular request.
Problem solved. It appears that the clue was in the following line of my laravel.log:
#1 /home/vagrant/.composer/vendor/illuminate/support/helpers.php(404): explode('.', Array)
I figured since my Homestead box has been installed a while ago the dependencies from that directory have never been updated, so a quick composer update inside of /home/vagrant/.composer did the trick.

Magento error: SQLSTATE[42S02]: Base table or view not found: 1146 Table

I am getting this error in the shopping cart after pressing proceed to checkout, any ideas?
here has been an error processing your request
SQLSTATE[42S02]: Base table or view not found: 1146 Table \\’XXXX_mgnt1.magenotification_log\\’ doesn\\’t exist
Trace:
#0 /home/celialiu/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/celialiu/public_html/lib/Zend/Db/Statement.php(300): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#2 /home/celialiu/public_html/lib/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#3 /home/celialiu/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(\\\’SELECT `main_ta...\\\’, Array)
#4 /home/celialiu/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(419): Zend_Db_Adapter_Pdo_Abstract->query(\\\’SELECT `main_ta...\\\’, Array)
#5 /home/celialiu/public_html/lib/Zend/Db/Adapter/Abstract.php(734): Varien_Db_Adapter_Pdo_Mysql->query(\\\’SELECT `main_ta...\\\’, Array)
#6 /home/celialiu/public_html/lib/Varien/Data/Collection/Db.php(734): Zend_Db_Adapter_Abstract->fetchAll(\\\’SELECT `main_ta...\\\’, Array)
#7 /home/celialiu/public_html/app/code/core/Mage/Core/Model/Resource/Db/Collection/Abstract.php(521): Varien_Data_Collection_Db->_fetchAll(\\\’SELECT `main_ta...\\\’, Array)
#8 /home/celialiu/public_html/lib/Varien/Data/Collection/Db.php(566): Mage_Core_Model_Resource_Db_Collection_Abstract->getData()
#9 /home/celialiu/public_html/lib/Varien/Data/Collection.php(268): Varien_Data_Collection_Db->load()
#10 /home/celialiu/public_html/app/code/local/Magestore/Magenotification/Helper/Data.php(1) : eval()\\\’d code(383): Varien_Data_Collection->getFirstItem()
#11 /home/celialiu/public_html/app/code/local/Magestore/Magenotification/Helper/Data.php(1) : eval()\\\’d code(324): Magestore_Magenotification_Helper_Data->_getLogger()
#12 /home/celialiu/public_html/app/code/local/Magestore/Magenotification/Helper/Data.php(1) : eval()\\\’d code(76): Magestore_Magenotification_Helper_Data->getDBLicenseKey()
#13 /home/celialiu/public_html/app/code/local/Magestore/Giftvoucher/Model/Payment/Giftvoucher.php(12): Magestore_Magenotification_Helper_Data->checkLicenseKey(\\\’Giftvoucher\\\’)
#14 /home/celialiu/public_html/app/code/core/Mage/Payment/Helper/Data.php(73): Magestore_Giftvoucher_Model_Payment_Giftvoucher->isAvailable(Object(Rewardpoints_Model_Quote))
#15 /home/celialiu/public_html/app/code/core/Mage/Payment/Block/Form/Container.php(118): Mage_Payment_Helper_Data->getStoreMethods(\\\’1\\\’, Object(Rewardpoints_Model_Quote))
#16 /home/celialiu/public_html/app/code/core/Mage/Payment/Block/Form/Container.php(44): Mage_Payment_Block_Form_Container->getMethods()
#17 /home/celialiu/public_html/app/code/core/Mage/Core/Block/Abstract.php(238): Mage_Payment_Block_Form_Container->_prepareLayout()
#18 /home/celialiu/public_html/app/code/core/Mage/Core/Model/Layout.php(456): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#19 /home/celialiu/public_html/app/code/core/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock(\\\’checkout/onepag...\\\’, \\\’checkout.paymen...\\\’)
#20 /home/celialiu/public_html/app/code/core/Mage/Core/Model/Layout.php(239): Mage_Core_Model_Layout->addBlock(\\\’checkout/onepag...\\\’, \\\’checkout.paymen...\\\’)
#21 /home/celialiu/public_html/app/code/core/Mage/Core/Model/Layout.php(205): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#22 /home/celialiu/public_html/app/code/core/Mage/Core/Model/Layout.php(206): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#23 /home/celialiu/public_html/app/code/core/Mage/Core/Model/Layout.php(206): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#24 /home/celialiu/public_html/app/code/core/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#25 /home/celialiu/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks()
#26 /home/celialiu/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(269): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#27 /home/celialiu/public_html/app/code/core/Mage/Checkout/controllers/OnepageController.php(185): Mage_Core_Controller_Varien_Action->loadLayout()
#28 /home/celialiu/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(419): Mage_Checkout_OnepageController->indexAction()
#29 /home/celialiu/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch(\\\’index\\\’)
#30 /home/celialiu/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#31 /home/celialiu/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#32 /home/celialiu/public_html/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#33 /home/celialiu/public_html/index.php(87): Mage::run(\\\’\\\’, \\\’store\\\’)
#34 {main}
With Configuration > Advanced > Advanced you only disable the output of the blocks. To really disable the module you need to go to app/etc/modules in your codebase an find the file Magestore_Magenotifcation.xml. Within that file you need to change the node to false. When cache is enabled you need to flush it after you made this change.

Resources