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.
Related
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
Currently trying to login to the Magento backend panel (version 2.2.7) but whenever I try to access the admin panel, I'm getting an error reading:
This page isn’t working www.websitename.com is currently unable to
handle this request.
HTTP ERROR 500
I've looked in the logs and there seems to be the following Apache error in them.
Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a
member function getNext() on null in
/var/www/vhosts/websitename.com/httpdocs/generated/code/Magento/User/Model/User/Interceptor.php:529\nStack
trace:\n#0
/var/www/vhosts/websitename.com/httpdocs/vendor/magento/module-backend/Model/Locale/Manager.php(96):
Magento\User\Model\User\Interceptor->getInterfaceLocale()\n#1
/var/www/vhosts/websitename.com/httpdocs/vendor/magento/module-backend/Model/Locale/Resolver.php(77):
Magento\Backend\Model\Locale\Manager->getUserInterfaceLocale()\n#2
/var/www/vhosts/websitename.com/httpdocs/vendor/magento/framework/Locale/Resolver.php(65):
Magento\Backend\Model\Locale\Resolver->setLocale(NULL)\n#3
/var/www/vhosts/websitename.com/httpdocs/vendor/magento/module-backend/Model/Locale/Resolver.php(60):
Magento\Framework\Locale\Resolver->__construct(Object(Magento\Framework\App\Config\Interceptor),
'general/locale/...', 'store', NULL)\n#4
/var/www/vhosts/websitename.com/httpdocs/vendor/magento/framework/ObjectManager/Factory/Abst...\n'
Can anyone suggest a way to resolve this as I cannot currently get into the backend of My site.
It seems that this was being caused by a vendor extenion called "Moogento Pickpack". Disabling this extension seems to have caused the issue to stop for the moment.
I will get in touch with the extension vendor and try to find out exactly what was causing the problem.
Update:
We have now updated Moogento Pickpack to a new version and upgraded to Magento 2.3.2. The error here is no longer occuring.
I am getting this error for a small module that I am trying to develop:
Fatal error: Call to undefined method car_booking::getMenu() in
/var/www/html/mis_mishra/application/core/MY_Controller.php on line 67
The same is working fine for other module. I have checked from my side that the case is ok, module is available menu is coming perfectly alright when the module start. unable to trace the reason.
How can I solve this error?
Fatal error: Call to undefined function wp_get_current_user() in /hermes/bosnaweb01a/b1513/ipg.framingnepalcom/wp-includes/capabilities.php on line 1329
I am getting the mentioned error in my wordpress site. I found the problem but couldn't find a permanent solution. What happens is the pluggable.php file is automatically erased from the database and ;the above error pops up disabling me to even access the admin panel. And the site gets back to normal after I upload the pluggable.php file manually. I tried downgrading wordpress, deactivating all plugins and so on. Please Help!!
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!