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

[4.0] Front end module edit function fails to save #28748

Closed
b10tds opened this issue Apr 21, 2020 · 13 comments
Closed

[4.0] Front end module edit function fails to save #28748

b10tds opened this issue Apr 21, 2020 · 13 comments

Comments

@b10tds
Copy link
Contributor

b10tds commented Apr 21, 2020

Steps to reproduce the issue

J400 totally default vanilla installation.
Login as a super-user.
Edit default image module from the home page using the displayed module edit button.
With, or without, making any changes in the editor, select either of the Save options.

Also in the front end the [edit] button is still displayed AND appears active when you are editing.

Expected result

Correct saving of any change and clean exit.

Actual result

Following error message appears on blank white screen:
{"error":true,"code":0,"message":"Call to a member function getType() on null"}

System information (as much as possible)

PHP 7.2.0
MySQLi 8.0.16
Caching Disabled
Gzip Disabled
Users 1
Articles 6

Additional comments

Same error occurs no matter which editor is used.
In the back end (Admin CP) it edits and save correctly, no matter which editor is used.

@infograf768 infograf768 changed the title Front end module edit function fails to save [4.0] Front end module edit function fails to save Apr 21, 2020
@Quy
Copy link
Contributor

Quy commented Apr 21, 2020

Please make sure you are testing with the nightly builds.
https://developer.joomla.org/nightly-builds.html

@richard67
Copy link
Member

J400 totally default vanilla installation.
Login as a super-user.
Edit default image module from the home page using the displayed module edit button.

@b10tds I'm confused because on a Joomla 4 "default vanilla installation" there is no "default image module from the home page". What kind of module is it? Have you created it, or have you installed some kind of sample data after the installation? Please report back all details we need to reproduce the issue.

@b10tds
Copy link
Contributor Author

b10tds commented Apr 22, 2020

My apologies, yes I used the "add sample data" option in the admin CP after the install so there was some content to see how it worked.

@richard67
Copy link
Member

@b10tds Which one? Blog sample data? Or multilingual sample data?

@b10tds
Copy link
Contributor Author

b10tds commented Apr 22, 2020

Blog sample.

@richard67
Copy link
Member

@b10tds Language of backend and frontend is the default "en-GB"?

@b10tds
Copy link
Contributor Author

b10tds commented Apr 22, 2020

Yes

@infograf768
Copy link
Member

What do you call the default image module from the home page ?
Please add a screenshot

@infograf768
Copy link
Member

I see now which module is concerned.
No issue here:

Screen Shot 2020-04-22 at 10 39 03

@infograf768
Copy link
Member

Screen Shot 2020-04-22 at 10 40 43

@richard67
Copy link
Member

I can't reproduce either, same module as shown by @infograf768 .

@b10tds
Copy link
Contributor Author

b10tds commented Apr 22, 2020

Okay thanks, I have just installed 4.0.0-beta1-dev version and tested that and it is not doing it, however this may be related to the change in PHP version required for this beta1-dev version to install from 7.2 to 7.3 to run.

@infograf768
Copy link
Member

Closing this.

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

No branches or pull requests

5 participants