Magento 2: Slider Overview Fatal Error - magento2

I have this issue with Magento 2 (Ver 2.2.0) in my localhost when I try to click on Slider Overview I get this error.
Fatal error: Uncaught Error: [] operator not supported for strings in /opt/lampp/htdocs/fprimavera/app/code/Nwdthemes/Revslider/Model/Revslider/Framework/RevSliderBaseAdmin.php:99 Stack trace: #0 /opt/lampp/htdocs/fprimavera/app/code/Nwdthemes/Revslider/Model/Revslider/RevSliderAdmin.php(650): Nwdthemes\Revslider\Model\Revslider\Framework\RevSliderBaseAdmin::addMetaBox('Revolution Slid...', '', Array, NULL) #1 /opt/lampp/htdocs/fprimavera/app/code/Nwdthemes/Revslider/Model/Revslider/RevSliderAdmin.php(151): Nwdthemes\Revslider\Model\Revslider\RevSliderAdmin->addSliderMetaBox() #2 /opt/lampp/htdocs/fprimavera/app/code/Nwdthemes/Revslider/Model/Revslider/RevSliderAdmin.php(121): Nwdthemes\Revslider\Model\Revslider\RevSliderAdmin->init() #3 /opt/lampp/htdocs/fprimavera/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(111): Nwdthemes\Revslider\Model\Revslider\RevSliderAdmin->__construct(Object(Nwdthemes\Revslider\Helper\Data), Object(Nwdthemes\Revslider\Helper\Framework), Object(Nwdthemes\Revslider\Helper\Qu in /opt/lampp/htdocs/fprimavera/app/code/Nwdthemes/Revslider/Model/Revslider/Framework/RevSliderBaseAdmin.php on line 99
Thank you in advance

Related

why am I getting error on compile time in magento 2

I am having this error while executing the setup:di:compile command
$ php bin/magento s:d:c
PHP Fatal error: Uncaught Error: Cannot instantiate interface Symfony\Component\Console\Output\OutputInterface in vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:116
Stack trace:
#0 vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Symfony\\Compone...', Array)
#1 vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Compiled->create('Symfony\\Compone...')
#2 vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(160): Magento\Framework\ObjectManager\ObjectManager->get('Symfony\\Compone...')
#3 vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(246): Magento\Framework\ObjectManager\F in vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 116
Fatal error: Uncaught Error: Cannot instantiate interface Symfony\Component\Console\Output\OutputInterface in vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:116
Stack trace:
#0 vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Symfony\\Compone...', Array)
#1 vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Compiled->create('Symfony\\Compone...')
#2 vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(160): Magento\Framework\ObjectManager\ObjectManager->get('Symfony\\Compone...')
#3 vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(246): Magento\Framework\ObjectManager\F in vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 116
i thing the issue is due any custom module di.xml file In case your interface still won't be loaded, check your di.xml and validate that a preference is available.
i hope you understand what i want to explain you
for info check below link Abstraction-implementation mappings topic
https://devdocs.magento.com/guides/v2.3/extension-dev-guide/build/di-xml-file.html

Mage2 : Arg 1 passed to Magento\Paypal\Model\Adminhtml\Express::isOrderAuthorizationAllowed() must be an instance of Magento\Sales\Model\Order\Payment

In Magento 2.2.5, I am getting this error while view any order.
Fatal error: Uncaught TypeError: Argument 1 passed to Magento\Paypal\Model\Adminhtml\Express::isOrderAuthorizationAllowed() must be an instance of Magento\Sales\Model\Order\Payment, null given, called in F:\xampp\htdocs\magento_five\vendor\magento\module-paypal\Plugin\OrderCanInvoice.php on line 41 and defined in F:\xampp\htdocs\magento_five\vendor\magento\module-paypal\Model\Adminhtml\Express.php:170 Stack trace: #0 F:\xampp\htdocs\magento_five\vendor\magento\module-paypal\Plugin\OrderCanInvoice.php(41): Magento\Paypal\Model\Adminhtml\Express->isOrderAuthorizationAllowed(NULL) #1 F:\xampp\htdocs\magento_five\vendor\magento\framework\Interception\Interceptor.php(146): Magento\Paypal\Plugin\OrderCanInvoice->afterCanInvoice(Object(Magento\Sales\Model\Order\Interceptor), false) #2 F:\xampp\htdocs\magento_five\vendor\magento\framework\Interception\Interceptor.php(153): Magento\Sales\Model\Order\Interceptor->Magento\Framework\Interception{closure}() #3 F:\xampp\htdocs\magento_five\generated\code\Magento\Sales\Model\Order\Inte in F:\xampp\htdocs\magento_five\vendor\magento\module-paypal\Model\Adminhtml\Express.php on line 169
Can anybody help me into this.
Thank you
Update your Magento version to 2.2.5.
Magento resolve above iisue on 2.2.5 version.

Uncaught Error: Class 'Zend_Cache' not found in magento2 installation

Fatal error: Uncaught Error: Class 'Zend_Cache' not found in /var/www/html/stdcw/vendor/magento/framework/App/Cache/Frontend/Factory.php:148 Stack trace: #0 /var/www/html/stdcw/vendor/magento/framework/App/Cache/Frontend/Pool.php(67): Magento\Framework\App\Cache\Frontend\Factory->create(Array) #1 /var/www/html/stdcw/vendor/magento/framework/App/Cache/Frontend/Pool.php(146): Magento\Framework\App\Cache\Frontend\Pool->_initialize() #2 /var/www/html/stdcw/vendor/magento/framework/App/Cache/Type/FrontendPool.php(84): Magento\Framework\App\Cache\Frontend\Pool->get('default') #3 /var/www/html/stdcw/vendor/magento/framework/App/Cache/Type/Config.php(49): Magento\Framework\App\Cache\Type\FrontendPool->get('config') #4 /var/www/html/stdcw/vendor/magento/framework/Cache/Frontend/Decorator/Bare.php(65): Magento\Framework\App\Cache\Type\Config->_getFrontend() #5 /var/www/html/stdcw/vendor/magento/framework/App/ObjectManager/ConfigLoader.php(66): Magento\Framework\Cache\Frontend\Decorator\Bare->load('global::DiConfi...') #6 /var/www/h in /var/www/html/stdcw/vendor/magento/framework/App/Cache/Frontend/Factory.php on line 148
It seems cache issue, Clear your all cache which you have installed on your server like APC, MemCached.
if it still give an issue then the problem is in improper installation of Magento2 instance. Install new Magento 2 install with same version you have installed with Separate DB. Hope it helps.

Magento 2 webapi INR error While place order

I got an error while placing order in magento 2. But my order is placed in magento 2 backend. I got an error like this.
main.CRITICAL: Exception: Report ID: webapi-56b84c8611046; Message: Notice: Undefined index: INR in app/code/Webkul/Marketplace/Observer/SalesOrderPlaceAfterObserver.php on line 303 in vendor/magento/framework/Webapi/ErrorProcessor.php:194 Stack trace:
#0 vendor/magento/framework/Webapi/ErrorProcessor.php(139): Magento\Framework\Webapi\ErrorProcessor->_critical(Object(Exception))
#1 vendor/magento/module-webapi/Controller/Rest.php(163): Magento\Framework\Webapi\ErrorProcessor->maskException(Object(Exception))
#2 var/generation/Magento/Webapi/Controller/Rest/Interceptor.php(24): Magento\Webapi\Controller\Rest->dispatch(Object(Magento\Framework\App\Request\Http))
#3 vendor/magento/framework/App/Http.php(115): Magento\Webapi\Controller\Rest\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#4 vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\Http->launch()
#5 index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))
Kindly help me .
It is a bug in the Webkul Marketplace extension, you should contact the developer for support.

MAMP and Yosemite PDO Exception Driver Issue

I installed Yosemite and now when I use MAMP I receive this Fatal error:
Fatal error: Uncaught exception 'PDOException' with message 'could not find driver' in
/Applications/MAMP/htdocs/CRUD/pdo.php:3 Stack trace: #0
/Applications/MAMP/htdocs/CRUD/pdo.php(3): PDO->__construct('mysql:host=loca...', 'fred',
'zap') #1 /Applications/MAMP/htdocs/CRUD/index.php(2): require_once('/Applications/M...')
#2 {main} thrown in /Applications/MAMP/htdocs/CRUD/pdo.php on line 3
Any ideas?
Here is a way to fix it:
Start MAMP
On the top left, go to "MAMP" -> "Preferences"
Go to the "PHP" tab
Tick PHP 5.5.17 (or whatever you have) instead of the one which is ticked by default (5.6.1 -> 5.5.17 with he latest version of MAMP)