I have a wordpress website with hair and beauty theme, for some reason the customizer and widget page in wp-admin are not working and giving 404 error,
i tried the following things so far
- check disabling theme and plugin : not working
- increased memory size.
- changed permalink settings :- not working.
- created a new setup with theme and plugin and found the pages to be working.
- updated wp and theme and also replace the wp-admin directory with one from wp setup.
- installed health and troubleshoot plugin and turned on the debug mode and the page were working but after turning off the debug mode the pages again started showing 404
- i linked the new dev site to the live db and then on dev site the page stopped working which let me to believe the issue is with DB but not sure what to check and what can be the cause.
Can anyone help me.