I've been getting this error: REQUES Uncaught PHP Exception ErrorException: "Warning: Erroneous data format for unserializing 'Ramsey\Uuid\Lazy\LazyUuidFromString'" at C:\Users\Alex\Desktop\ALM\ALM-proto\vendor\symfony\http-foundation\Session\Storage\NativeSessionStorage.php line 153 whenever I run my symfony server. It prevents my localhost:8000 page from loading. I've opened the file from the error message and found out that this block of code is the culprit. By commenting it out, I no longer see the error, and the page loads. However, because I don't have access to the session, it causes other problems. So I need this block of code of code to work. How can I fix this?
if (!session_start()) {
throw new \RuntimeException('Failed to start the session');
}
Here are my Symfony project specs:
Symfony 4.3.11
PHP 7.4.16
Composer 2.0.11
OS: Windows 10
Related
I was managing my server and after a composer update I receive this message:
PHP Fatal error: Uncaught TypeError: Argument 1 passed to UserFrosting\System\Facade::setFacadeContainer() must be an instance of Interop\Container\ContainerInterface, instance of Slim\Container given, called in /home/arteller/www/userfrosting/app/system/UserFrosting.php on line 53 and defined in /home/arteller/www/userfrosting/app/system/Facade.php:210
After this, I receive only 500 Internal Error from my server.
The error persists every time I also try to use the command "php bakery bake" or something related to bakery.
Anyone can help?
You need to update to UserFrosting 4.3.3 or later, and run composer update again. This issue was introduced by Slim, which introduced a breaking change recently.
i am facing this problem in magento site:
Magento website suddenly has 'No data received' Error code: ERR_EMPTY_RESPONSE
so i tried solution provided by #Larzen in that link
but i am getting following error at the end of the frontend and backend :
Fatal error: Call to undefined function apc_clear_cache() in /var/www/html/site/index.php on line 92
so is there any way to clear APC cache through index.php file or how we can do this from server side.
The error happens when warming up caches and is in full:
PHP Fatal error: Class 'FPDF' not found in /home/shop/public_html/releases/20150122171219/Packages/Sites/Mystuff.ModelSite/Classes/Mystuff/ModelSite/Service/InvoiceService.php on line 14
Uncaught Exception
Execution of subprocess failed with exit code 255 without any further
output. (Please check your PHP error log for possible Fatal errors)
More Information
Exception code #1355480641
File /home/shop/public_html/releases/20150122171219/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Core/Booting/Scripts.php line 531
Exception reference #201504011936306ce58c
I've seen this error before and got around it but can't for the life of me remember how nor can I find the notes I'm sure I made about it. Driving me crazy. What is weird is that the live server gets this error but not my dev server, which is a copy of the live one. The fpdf.php is there.
Thanks
I'm new to cakePHP and I've been having real difficulty getting it working on my free aws account. I first tried setting up LAMP on my own, but gave up and am now trying to use the bitnami LAMP stack:
https://aws.amazon.com/amis/bitnami-lapp-stack-5-4-13-1-64-bit-ubuntu-12-04
Anyways, that seemed to work, and I was following the cakePHP Blogs tutorial:
http://book.cakephp.org/2.0/en/getting-started.html
I got the mySQL database and tables all set up, and just to test I went to the cakePHP dir:
http://[my amazon instance].compute-1.amazonaws.com/cakephp/
Page loads up with no problems.
But if I reload that page, I get an error:
PHP Fatal error: Uncaught exception 'LogicException' with message 'Passed array does not specify an existing static method (class 'App' does not have a method 'load')' in /opt/bitnami/frameworks/cakephp/lib/Cake/bootstrap.php:133\nStack trace:\n#0 /opt/bitnami/frameworks/cakephp/lib/Cake/bootstrap.php(133): spl_autoload_register(Array)\n#1 /opt/bitnami/frameworks/cakephp/app/webroot/index.php(77): include('/opt/bitnami/fr...')\n#2 {main}\n thrown in /opt/bitnami/frameworks/cakephp/lib/Cake/bootstrap.php on line 133
At that point, nothing to do but restart apache. Once again the page shows up one time, then reload and it errors as above.
Halp!
I'm getting the following error
Fatal error: Class entry requested for an object without PHP class
when running the code below in 70% of tries with Xdebug active:
if (isset($billingData['email'])) {
$this->email = $billingData['email'];
}
The line where it fails actually depends on the line where the breakpoint is set.
I tend to connect that issue with 5.4.x (I have PHP 5.4.9-4ubuntu2.1 with Xdebug v2.2.3), because the error doesn't occur on 5.3.x. When Xdebug is active, NetBeans throws
Socket Exception occured
If you have any Watches, try to remove them and restart debugger. If removing Watches doesn't help or you don't have any Watches, please file an issue and provide the exact steps to reproduce your problem. Please attach the IDE log. Attaching your project would also be very helpful.
When not debugging, the script just silently fails with "ERR_EMPTY_RESPONSE" error in Chrome.