Closed isaacdarcilla closed 7 months ago
I can't reproduce this error with the information you've provided. It looks like that method belongs to a class which has some specific fields in its $db
and $has_one
configuration?
Please provide the full code snippet, and all steps required to reproduce this problem on a fresh isntallation. And by all steps I mean all steps. If I have to click anything in the browser, there should be a step telling me what to click.
Please also provide the stack trace for the error you're getting.
While I can reproduce the error with that module installed, there's way too much code in there for it to be worth me to starting debugging to even see if this is a problem with a core module, or a problem with your module.
You've ticked the box that says "Double check that your reproduction steps work in a fresh installation of silverstripe/installer (with any code examples you've provided)" - which means you have been able to reproduce this error without installing your module.
Please provide the minimum code required to reproduce this bug without installing your module. I'm going to close this issue in the meantime - once you've commented with that code sample I'll reopen it.
In the meantime I've updated the issue description to add some context about the nature of the error.
Module version(s) affected
5.2.2
Description
The following error appears in the developer console in my browser after publishing changes in the CMS admin:
With the JS for silverstripe/admin rebuilt in dev mode, the error points to
LeftAndMain.EditForm.js:417
as the source of the error.Error occurs after publishing changes in CMS admin.
How to reproduce
Possible Solution
No response
Additional Context
No response
Validations
silverstripe/installer
(with any code examples you've provided)