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

Broken page error solution #228

Closed
wants to merge 1 commit into from
Closed

Broken page error solution #228

wants to merge 1 commit into from

Conversation

bimaljr
Copy link

@bimaljr bimaljr commented Dec 28, 2020

Recently I see that the $theme['rating'] will return array if there is no ratings for a theme. So the code will show error and break the page to load. So I added the is_array() function. Also the return is float() if there are ratings so I added (int) converter to solve that issue too. This error appears in PHP v7.2 version.

Recently I see that the $theme['rating']  will return array if there is no ratings for a theme. So the code will show error and break the page to load. So I added the is_array() function. Also the return is float() if there are ratings so I added (int) converter to solve that issue too. This error appears in PHP v7.2 version.
dtbaker added a commit that referenced this pull request Jan 17, 2023
@dtbaker dtbaker mentioned this pull request Jan 17, 2023
@dtbaker
Copy link
Contributor

dtbaker commented Jan 17, 2023

Thank you we have addressed this issue in #282

@dtbaker dtbaker closed this Jan 17, 2023
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

Successfully merging this pull request may close these issues.

2 participants