org.xmlpull.v1.XmlPullParserException: unexpected type (position:END_DOCUMENT null#1:1 in java.io.InputStreamReader#xxxxxx)
How can I fix it on my end?
Related
I'm getting this error when running my NextJS app
TypeError: Cannot read property 'eager' of undefined
at Head.getPreloadMainLinks (/Users/someuser/dev/temp/next-js-10-1-error/mobile/.next/server/pages/_document.js:4936:30)
at Head.render (/Users/someuser/dev/temp/next-js-10-1-error/mobile/.next/server/pages/_document.js:5160:130)
My app was working fine in next js 10.0.1 but does not work on 10.1.3
I created an MVE here: https://github.com/jeznag/next-js-10-1-error
I'm not sure it is a bug in next as even if I revert to 10.0.1 in the MVE, I still get the error. (But in my real app on 10.0.1 I don't get an error)
I download a new sylius 1.5 project and i deploy it on a sharedhost server. In local all work very well both in dev and prod environnement. But online prod env don't work. Here is the exception in prod log
Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalErrorException:
Compile Error: require(): Failed opening required 'var/cache/prod/doctrine/orm/Proxies/__CG__some-file.php' (include_path='.:/usr/share/php7:/usr/share/php') at vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php line 223
I don't know how to resolve this problem. thanks
When i laod page for the first time the page it work. But when i click on link or refresh the page i have a blank page with message
this page is currently unable to handle this request
In cPanel Configure PHP INI basic settings section i enable display_errors and when i refresh the page this error is displayed
Fatal error: require_once(): Failed opening required 'phar:///home/ki327452/public_html/acme/vendor/phpstan/phpstan-shim/phpstan.phar/vendor/autoload.php' (include_path='.:/opt/cpanel/ea-php72/root/usr/share/pear') in /home/ki327452/public_html/acme/vendor/phpstan/phpstan-shim/bootstrap.php on line 8
I wait a few moment and when i refresh again it works.And that is a boucle in which i am.
Environment: Symfony 2.8.1 with XAMPP Version 5.5.24 on Windows 7.
If I trigger a fatal error in a controller, anything as simple as $array = ; in production environment, I'm getting a default php error:
Parse error: syntax error, unexpected ';' in C:\xampp\htdocs\tgsupport-test\src\AppBundle\Controller\DefaultController.php on line 16
followed by symfony custom error page message. Obviously I'd want to avoid to show eorr info in production.
Moreover in prod.log I see a double critical error: under php.CRITICAL and request.CRITICAL. Is really useful to show the same error twice?
I'm using default configuration, indeed I just installed default framework without any custom setting and I triggered my error in AppBundle/DefaultController, so I was wondering if I'm missing anything.
I missed a php.ini configuration to avoid to display error messages in page.
In my meteor app I'm getting this error
Error: Cannot find module 'connect'
I haven't installed connect in my local server and its working fine there.The issue occurred when the code was moved to server. Why is this happening ? What else data should I provide for anyone to help me !
I've been trying to create a local copy of this wordpress site - click4taps.co.uk. But even though everything seems to run pretty much fine on the server, on localhost I am getting these code errors, I would have maybe expected a database error if I had forgot something in the setup. I'm not super good at php but I can't see anything that out of place in the code the error specifies.
Here is the error message I receive when trying to launch the site in localhost:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'woocommerce_layered_nav_init' not found or invalid function name in C:\Program Files (x86)\Ampps\www\click4taps\wp-includes\plugin.php on line 406
Fatal error: Call to undefined function is_product() in C:\Program Files (x86)\Ampps\www\click4taps\wp-content\themes\bazar\theme\plugins\woocommerce-ajax-layered-nav\init.php on line 59
Any feedback on this would be very helpful thanks
Activate your woocommerce plugin