orchidsoftware / orchidsoftware/platform
[Reusing Layouts][BUG] Illegal offset type in isset or empty
@tabuna is already working on this.
Since Jul 10, 2023.
- Dominant language
- PHP
- Stars
- 4.8k
- Forks
- 663
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 7
Description
Describe the bug
After updating a project from version 13 to 14, all editing screens simply stopped working, with the error "Illegal offset type in isset or empty", from what I understand, it seems that the model defined in the query is not passing for layout components.
I created a components Reusing Layouts, and when using it on a page, it seems that it doesn't receive the query values from the main PageScreen.
To Reproduce
Steps to reproduce the behavior:
- Create Reusing Layouts
- Include in fuction layout() in page Screen
- Access in browser.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Desktop (please complete the following information):
- OS: MacOS
- Browser Chrome
- Version [e.g. 22]
Server (please complete the following information):
- Platfrom Version: 14.5.0
- Laravel Version: 10.14.1
- PHP Version: 8.2
- Database: MySql
- Database Version: 8.0.27
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.