Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra whitespace causes "ERROR: Trying to get property 'data' of non-object on line 283 in /coder_upgrade/conversions/call.inc" #47

Open
bugfolder opened this issue Apr 2, 2021 · 0 comments

Comments

@bugfolder
Copy link
Collaborator

Any of the following lines in a file being upgraded will cause the error of the title of this issue:

return system_settings_form( $form);
return system_settings_form($form );
return system_settings_form( $form );

Backdrop coding standards call for no whitespace between the parens and arguments, but users upgrading a custom module that didn't follow coding standards might run into this. If so, the quick fix is to do search-and-replace to eliminate such whitespace before running Coder Upgrade.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant