Re: Twig error / blank product edit page
Posted: Tue Jan 19, 2021 1:35 am
Thanks to everyone who contributed to this thread.
I have now figured out the problem - it was caused by an invalid licence key.
An extension that I had installed on the live site was automatically disabled on the development site because the licence key didn't match the domain name.
When I uninstalled the modification, everything worked correctly.
The problem was that twig variables were being called in the product edit form, but those variables were unavailable, due to the mod being deactivated, causing the page to fail.
I had not spotted this at first - I had tried disabling all of my module extensions but this was a modification, not a module.
Hope it might help anyone else in the same situation - where possible, if your extensions requires a licence key, politely request a second licence from the publisher so that you can use it privately on your development server.
I have now figured out the problem - it was caused by an invalid licence key.
An extension that I had installed on the live site was automatically disabled on the development site because the licence key didn't match the domain name.
When I uninstalled the modification, everything worked correctly.
The problem was that twig variables were being called in the product edit form, but those variables were unavailable, due to the mod being deactivated, causing the page to fail.
I had not spotted this at first - I had tried disabling all of my module extensions but this was a modification, not a module.
Hope it might help anyone else in the same situation - where possible, if your extensions requires a licence key, politely request a second licence from the publisher so that you can use it privately on your development server.