My site is working on local but when I merge live on it shows the error (1/1) ErrorException array_merge(): Argument #2 is not an array in ProviderRepository.php line 95
I have tried the solution from google StackOverflow, GitHub but most of them solved the problem by deleting the file services.json
but in my bootstrap/cache it doesn't create
any alternate solution???
so I just started to learn using Magento 2 and I'm blocked from the start :/ I looked in many sites before for my problem I found solutions but none of them did solve my problem, I hope you have an idea guys!
so I got :
Installation is incomplete.
Check the console log for errors before trying again.
and it stops in this point :
Module 'Magento_Weee':
Installing data...
[ERROR] PDOException: SQLSTATE[42S21]: Column already exists: 1060 Nom du champ 'weee_tax_disposition' déjà utilisé in C:\wamp64\www\magento2\vendor\magento\zendframework1\library\Zend\Db\Statement\Pdo.php:228 Stack trace: #0 C:\wamp64\www\magento2\vendor\magento\zendframework1\library\Zend\Db\Statement\Pdo.php(228): PDOStatement->execute(Array) #1 C:\wamp64\www\magento2\lib\internal\Magento\Framework\DB\Statement\Pdo\Mysql.php(93): Zend_Db_Statement_Pdo->_execute(Array) #2 C:\wamp64\www\magento2\vendor\magento\zendframework1\library\Zend\Db\Statement.php(303): Magento\Framework\DB\Statement\Pdo\Mysql->_execute(Array) #3 C:\wamp64\www\magento2\vendor\magento\zendframework1\library\Zend\Db\Adapter\Abstract.php(480): Zend_Db_Statement->execute(Array) #4 C:\wamp64\www\magento2\vendor\magento\zendframework1\library\Zend\Db\Adapter\Pdo\Abstract.php(238): Zend_Db_Adapter_Abstract->query('ALTER TABLE qu...', Array) #5 C:\wamp64\www\magento2\lib\internal\Magento\Framework\DB\Adapter\Pdo\Mysql.php(515): Zend_Db_Adapter_Pdo_Abstract->query('ALTER TABLEqu...', Array) #6 C:\wamp64\www\magento2\lib\internal\Magento\Framework\DB\Adapter\Pdo\Mysql.php(578): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('ALTER TABLE qu...', Array) #7 C:\wamp64\www\magento2\lib\internal\Magento\Framework\DB\Adapter\Pdo\Mysql.php(433): Magento\Framework\DB\Adapter\Pdo\Mysql->query('ALTER TABLEqu...') #8 C:\wamp64\www\magento2\lib\internal\Magento\Framework\DB\Adapter\Pdo\Mysql.php(952): Magento\Framework\DB\Adapter\Pdo\Mysql->rawQuery('ALTER TABLE `qu...') #9 C:\wamp64\www\magento2\app\code\Magento\Quote\Setup\QuoteSetup.php(126): Magento\Framework\DB\Adapter\Pdo\Mysql->addColumn('quote_item', 'weee_tax_dispos...', 'decimal(12,4) N...') #10 C:\wamp64\www\magento2\app\code\Magento\Quote\Setup\QuoteSetup.php(102): Magento\Quote\Setup\QuoteSetup->_addFlatAttribute('quote_item', 'weee_tax_dispos...', Array) #11 C:\wamp64\www\magento2\app\code\Magento\Weee\Setup\InstallData.php(60): Magento\Quote\Setup\QuoteSetup->addAttribute('quote_item', 'weee_tax_dispos...', Array) #12 C:\wamp64\www\magento2\setup\src\Magento\Setup\Model\Installer.php(867): Magento\Weee\Setup\InstallData->install(Object(Magento\Setup\Module\DataSetup), Object(Magento\Setup\Model\ModuleContext)) #13 C:\wamp64\www\magento2\setup\src\Magento\Setup\Model\Installer.php(791): Magento\Setup\Model\Installer->handleDBSchemaData(Object(Magento\Setup\Module\DataSetup), 'data') #14 [internal function]: Magento\Setup\Model\Installer->installDataFixtures() #15 C:\wamp64\www\magento2\setup\src\Magento\Setup\Model\Installer.php(342): call_user_func_array(Array, Array) #16 C:\wamp64\www\magento2\setup\src\Magento\Setup\Controller\Install.php(109): Magento\Setup\Model\Installer->install(Array) #17 C:\wamp64\www\magento2\vendor\zendframework\zend-mvc\src\Controller\AbstractActionController.php(82): Magento\Setup\Controller\Install->startAction() #18 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent)) #19 C:\wamp64\www\magento2\vendor\zendframework\zend-eventmanager\src\EventManager.php(490): call_user_func(Array, Object(Zend\Mvc\MvcEvent)) #20 C:\wamp64\www\magento2\vendor\zendframework\zend-eventmanager\src\EventManager.php(214): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #21 C:\wamp64\www\magento2\vendor\zendframework\zend-mvc\src\Controller\AbstractController.php(118): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #22 C:\wamp64\www\magento2\vendor\zendframework\zend-mvc\src\DispatchListener.php(93): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response)) #23 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent)) #24 C:\wamp64\www\magento2\vendor\zendframework\zend-eventmanager\src\EventManager.php(490): call_user_func(Array, Object(Zend\Mvc\MvcEvent)) #25 C:\wamp64\www\magento2\vendor\zendframework\zend-eventmanager\src\EventManager.php(214): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #26 C:\wamp64\www\magento2\vendor\zendframework\zend-mvc\src\Application.php(314): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #27 C:\wamp64\www\magento2\setup\index.php(35): Zend\Mvc\Application->run() #28 {main}
it said that the column exists but I checked in my database , the column does not exist :/
I tried to change the max_input_time,max_execution_time and memory_limit in php.ini and I restarted wamp but still have the same error!!
Thanks in advance
I really appreciate your help!!
Okay guys finally :'( , I hope this will help many of you!
This is what I did after too many tries :
First I got Installation is incomplete each time at 73%
so
=>1) in php.ini change max_execution_time = 180000 --and --memory_limit = 2G
2) drop the database, create again and relaunch wamp
3) refresh and reinstall Magento2
Than I thought that finished but again I got a new problem :D
Installation is incomplete each time at 94%
=> 1) so you go in yourfolder\app\code\Magento\Tax\Setup\RecurringData.php
you put this line after line 69
if (empty($taxRateData->getData('percentage_rate'))) continue;
//After installation I've removed the line 70
2) refresh the page of installation and you're done :)
Good luck!
I tried for a week, always getting stuck on 72% tried everything, I then decided to install without sample data and it installed straight away.
I am new for libFuzzer. Right now, I use it to find the potential bug in one library (myLibrary.a). So, I write test_fuzz.cpp file which calls the function LLVMFuzzerTestOneInput().
I compile test_fuzz.cpp with clang++ flags " -fsanitize=address -fsanitize-coverage=trace-pc-guard -g -o2", and linked with libFuzzer.a myLibrary.a to create the executable App.
The myLibrary.a is pre-built with same compiler flags (clang++).
Run the App, it did hit the heap-use-after-free. But, it reported as below. My question is, why it can only reports offset instead of detailed location (like function name, file name and line number)? The myLibrary.a contents many files which locates in different folders(modules), it is not possible to list all the files one by one and build with test.cpp.
It is hard for me to use offset to figure out which part of codes have bug. Anything I miss here? Thanks for any helps.
==18728==ERROR: AddressSanitizer: heap-use-after-free on address 0x60f0000000c0 at pc 0x00000127884c bp 0x7f7db9decd70 sp 0x7f7db9decd68
READ of size 8 at 0x60f0000000c0 thread T8
#0 0x127884b (/home/workspace/test_fuzz+0x127884b)
#1 0x127aad5 (/home/workspace/test_fuzz+0x127aad5)
#2 0x127acd2 (/home/workspace/test_fuzz+0x127acd2)
#3 0x127e591 (/home/workspace/test_fuzz+0x127e591)
#4 0x12633ac (/home/workspace/test_fuzz+0x12633ac)
#5 0x121efee (/home/workspace/test_fuzz+0x121efee)
When I run Codeception, e.g.:
codecept run
I receive the following error message:
[yii\base\UnknownPropertyException]
Setting unknown property: yii\web\Application::class
If I open the test version of the application main page
https://localhost/yii/frontend/web/index-test.php/
then I receive this message:
Exception (Unknown Property) 'yii\base\UnknownPropertyException' with
message 'Setting unknown property: yii\web\Application::class'
in C:\xampp\htdocs\yii\vendor\yiisoft\yii2\base\Component.php:197
Stack trace:
0 C:\xampp\htdocs\yii\vendor\yiisoft\yii2\BaseYii.php(521): yii\base\Component->__set('class', 'yii\db\Connecti...')
1 C:\xampp\htdocs\yii\vendor\yiisoft\yii2\base\Object.php(105): yii\BaseYii::configure(Object(yii\web\Application), Array)
2 C:\xampp\htdocs\yii\vendor\yiisoft\yii2\base\Application.php(206): yii\base\Object->__construct(Array)
3 C:\xampp\htdocs\yii\ap1_epas\web\index-test.php(18): yii\base\Application->__construct(Array)
4 {main}
In the file index-test.php is on the line 18 the following code:
(new yii\web\Application($config))->run();
I use Selenium. Two weeks ago had the tests worked. I have made no changes in Codeception or configuration since then.
On my developement server /pages/help renders just fine. But on the production it renders a not found page.
All the files are the same, and everything else works.
Update: The only difference is on production debug is false and on developement debug is true. I can reproducate the problem by changing debug value.
Here is the stack trace
2015-07-08 10:36:44 Error: [Cake\Network\Exception\NotFoundException] Not Found
Request URL: /pages/help
Stack Trace:
#0 /home/reseller10/domains/1108.cc/private_html/sanga/vendor/cakephp/cakephp/src/View/View.php(833): include()
#1 /home/reseller10/domains/1108.cc/private_html/sanga/vendor/cakephp/cakephp/src/View/View.php(793): Cake\View\View->_evaluate('/home/reseller1...', Array)
#2 /home/reseller10/domains/1108.cc/private_html/sanga/vendor/cakephp/cakephp/src/View/View.php(464): Cake\View\View->_render('/home/reseller1...')
#3 /home/reseller10/domains/1108.cc/private_html/sanga/vendor/cakephp/cakephp/src/Controller/Controller.php(582): Cake\View\View->render('help', NULL)
#4 /home/reseller10/domains/1108.cc/private_html/sanga/src/Controller/PagesController.php(63): Cake\Controller\Controller->render('help')
#5 [internal function]: App\Controller\PagesController->display('help')
#6 /home/reseller10/domains/1108.cc/private_html/sanga/vendor/cakephp/cakephp/src/Controller/Controller.php(411): call_user_func_array(Array, Array)
#7 /home/reseller10/domains/1108.cc/private_html/sanga/vendor/cakephp/cakephp/src/Routing/Dispatcher.php(114): Cake\Controller\Controller->invokeAction()
#8 /home/reseller10/domains/1108.cc/private_html/sanga/vendor/cakephp/cakephp/src/Routing/Dispatcher.php(87): Cake\Routing\Dispatcher->_invoke(Object(App\Controller\PagesController))
#9 /home/reseller10/domains/1108.cc/private_html/sanga/webroot/index.php(37): Cake\Routing\Dispatcher->dispatch(Object(Cake\Network\Request), Object(Cake\Network\Response))
#10 {main}
Spend 1 hour searching the error. First thought its a permissions problem on logs. But it's much easier.
Remove
if (!Configure::read('debug')):
throw new NotFoundException();
endif;
From Template/Layout/default.ctp