Magento 2 crash after changing to dev mode - php

Need help for telling me what that error is so I will have an idea what to do or if someone can tell me way to fix it.
This is the error I am getting when switching to developer mode and website crashing.
PHP Fatal error: Uncaught Magento\Framework\Exception\LocalizedException: Invalid Document
Element 'config', attribute 'xsi:noNamespaceSchemaLocation': The attribute 'xsi:noNamespaceSchemaLocation' is not allowed.
Line: 2
in /home/software/public_html/vendor/magento/framework/Config/Reader/Filesystem.php:160
Stack trace:
#0 /home/software/public_html/vendor/magento/framework/Config/Reader/Filesystem.php(127): Magento\Framework\Config\Reader\Filesystem->_readFiles(Object(Magento\Framework\Config\FileIterator))
#1 /home/software/public_html/vendor/magento/framework/App/ObjectManager/ConfigLoader.php(69): Magento\Framework\Config\Reader\Filesystem->read('global')
#2 /home/software/public_html/vendor/magento/framework/App/ObjectManager/Environment/Developer.php(77): Magento\Framework\App\ObjectManager\ConfigLoader->load('global')
#3 /home/software/public_html/vendor/magento/framework/App/ObjectManagerFactory.php(194): Magento\Framework\App\ObjectManager\Environment\Developer->configureObjectManager(Object(Magento\Framework\Inte in /home/software/public_html/vendor/magento/framework/Config/Reader/Filesystem.php on line 160

Related

Error while running Laravel-snappy html to pdf

I installed laravel-snappy using the official documentation but when i try to run my application i get this error.
Fatal error: Uncaught Error: Call to undefined method Illuminate\Foundation\Application::configure() in D:\php\myapp\vendor\barryvdh\laravel-snappy\src\LumenServiceProvider.php:21 Stack trace: #0 D:\php\myapp\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(574): Barryvdh\Snappy\LumenServiceProvider->register() #1 D:\php\myapp\bootstrap\app.php(35): Illuminate\Foundation\Application->register(Object(Barryvdh\Snappy\LumenServiceProvider)) #2 D:\php\myapp\public\index.php(36): require_once('D:\php\myapp\bo...') #3 D:\php\myapp\server.php(21): require_once('D:\php\myapp\pu...') #4 {main} thrown in D:\php\myapp\vendor\barryvdh\laravel-snappy\src\LumenServiceProvider.php on line 21
Another one :
when i use anchor tag for routing a download like below
Download PDF
It goes to
http://localhost:8000/%7B%7B%20route('generate-pdf',['download'=%3E'pdf'])%20%7D%7D
why is it like that?
Why do i get this error and how do i resolve it? thanks in advance.

Cakephp Fatal Error not showing exact issue

Im building an application, and when I'm writing code sometimes I get a Fatal error because of bad typo.
But CakePHP only shows Fatal Error in the Error Handler:
Error: Uncaught TypeError: Argument 1 passed to Cake\Error\BaseErrorHandler::handleException() must be an instance of Exception, instance of ParseError given in C:\wamp\www\otras\becrm\vendor\cakephp\cakephp\src\Error\BaseErrorHandler.php:153 Stack trace: #0 [internal function]: Cake\Error\BaseErrorHandler->handleException(Object(ParseError)) #1 {main} thrown
File C:\wamp\www\otras\becrm\vendor\cakephp\cakephp\src\Error\BaseErrorHandler.php
Line: 153
Is there a way that it shows me something like Error in File "AppController" Line 53? Where the real problem is?
error level in config/app is 'errorLevel' => E_ALL & ~E_DEPRECATED,

Fatal Error on website

I had to upgrade our website Open Cart from 1.5.5.1 to 2.0.1.1 because our hosting company decided to upgrade the PHP. Now the website does not work anymore and gives a fatal error. I don't understand anything from this fatal error code:
Fatal error: Uncaught exception 'Exception' with message 'error_theme_option_file_lost' in /public/sites/www.hippehangmatten.nl/catalog/model/kuler/cp.php:40
Stack trace:
#0 /public/sites/www.hippehangmatten.nl/system/modification/catalog/controller/module/kuler_cp.php(2157): ModelKulerCp->loadThemeOptions(NULL)
#1 /public/sites/www.hippehangmatten.nl/system/modification/catalog/controller/module/kuler_cp.php(2966): Kuler->processStyles()
#2 /public/sites/www.hippehangmatten.nl/system/modification/system/library/response.php(63): Kuler->processOutput('...')
#3 /public/sites/www.hippehangmatten.nl/index.php(266): Response->output()
#4 {main} thrown in /public/sites/www.hippehangmatten.nl/catalog/model/kuler/cp.php on line 40
I hope that somebody can help me to fix this problem. The designer of this theme ended their company, so I am not able to reach out to them.

Google Api Oath Exception Issues

I am newer to the Google Plus Api, but I have followed each and every rule to integrate G-Plus API in my WEB. But every time I get stuck at the issue:
Fatal error: Uncaught exception 'apiAuthException' with message 'Error refreshing the OAuth2 token, message: ''' in C:\AppServ\www\googleplus-source\google-api-php-client\src\auth\apiOAuth2.php:203
Stack trace:
#0 C:\AppServ\www\googleplus-source\google-api-php-client\src\io\apiCurlIO.php(51): apiOAuth2->sign(Object(apiHttpRequest))
#1 C:\AppServ\www\googleplus-source\google-api-php-client\src\io\apiREST.php(55): apiCurlIO->authenticatedRequest(Object(apiHttpRequest))
#2 C:\AppServ\www\googleplus-source\google-api-php-client\src\service\apiServiceResource.php(148): apiREST::execute(Object(apiServiceRequest))
#3 C:\AppServ\www\googleplus-source\google-api-php-client\src\contrib\apiPlusService.php(204): apiServiceResource->__call('get', Array)
#4 C:\AppServ\www\googleplus-source\google-plus-access.php(40): PeopleServiceResource->get('me')
#5 C:\AppServ\www\googleplus-source\index.php(2): include_once('C:\AppServ\www\...')
#6 {main} thrown in C:\AppServ\www\googleplus-source\google-api-php-client\src\auth\apiOAuth2.php on line 203
What could be the reason for this error?
What could be the reason for this error?
The reason for this error (a Fatal error) is given in the error message: Uncaught exception. That means an exception­Docs has been thrown and was not caught. This results in a fatal error.
Most likely in your case, the root cause of the problem highlighted in the exception message is misconfiguration and/or wrong API usage. As you have not posted any code in your question, you should read the API documentation first and double check your usage of the API and it's configuration.

Exception in Magento 1.5.0.1

I get an error message in the bottom of the page :
Fatal error: Uncaught exception 'Exception' with message
'Serialization of 'Mage_Core_Model_Layout_Element' is not allowed' in
[no active file]:0 Stack trace: #0 {main} thrown in [no active file]
on line 0
Problem is i don't get any file or line number.
Have you seen this before? Where can I start to fix it?
I searched on google and found this answer but the response is not valid in my case. Didn't find any other response, probably because of large number of websites that display this error.
http://magentophp.blogspot.com/2011/02/magento-enterprise-full-page-caching.html
This might clarify the Magento Full caching
Regards Bernd

Categories