I’ve build a theme, and it seems it works well on localhost.
I’ve tried to upload it, and it breaks.
The commands I used: npm run-script build:production
After that, I’ve uploaded all files, except node_modules
.
And I get this error: There has been a critical error on this website.
I also emptied the index and page files, to be blank, in case there was an error in my code on build time, but that didn’t seem to have any effect.
I’m using cPanel, Apache as the server, PHP version 7.4.
The logs say(100last lines out of 2000): https://pastebin.com/seHnv67s
I have no idea what to do. I’ve tried everything I could possibly think.
What should I do?