cancel
Showing results for 
Search instead for 
Did you mean: 

Getting 404 error after trying to add customer

Re: Getting 404 error after trying to add customer

Hello @maron_b

 

you can try and catch into controller and check it

 

e.g

try
{
}catch(Exception $e)
{
echo "<pre>";
print_R($e->getMessage());
exit;
}

Hope it will help you.

 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Getting 404 error after trying to add customer

Hi @maron_b,

 

It seems you're using the Magento compiler. You should disable it.

Go to the shell directory and then run:

 

php compiler.php state

 

Now you'll see the current status of or compiler. If is enabled and/or compiled, please, execute these commands:

 

php compiler.php disable
php compiler.php clear

 

Now is disabled and you've cleared all the generated files.

Can you try it and check if the action you've tried to execute is still failing?

Re: Getting 404 error after trying to add customer

Hi @Damian Culotta,

 

I ran

php complier.php state

 

The status was already Disabled.

Re: Getting 404 error after trying to add customer

Hi @maron_b,

 

Maybe you could also delete all those files?

 

php compiler.php clear