Error- Width must be an integer.
PermalinkI keep getting this error:
"An unexpected error occurred.
Width must be an integer."
I haven't changed any codes anywhere. I just installed/and tried to install new items in add block part of admin panel, but now receive this error in everypage(even index.php/login page doesn't open and this error comes up. Does anyone else experienced this issue and what can I do to correct this? Thanks for your help.
Thanks for your reply. Sorry, yes the reason for that was I was trying to add few blocks and haven't recognised which one did this error. I guess I am going to end up deleting Concrete5 and reinstall again, and do backup for next time because I can't reach any page now including dashboard.
https://documentation.concrete5.org/developers/appendix/cli-commands...
Next time, be sure to set full diagnostics and logging in the dashboard before you start developing any blocks.
Also, be aware there are big differences between the way you add a block that is part of a package (package installation) and installing a stand alone block in /application/
You say 'install new items' and 'width must be an integer', so perhaps there is a coding mistake in a new block you are trying to install. Perhaps to do with the 'width' of the edit dialog, a constant you need to set within the new block type controller.
Just a very wild guess. If it isn't in the right direction, we will need much more information to help. Screenshots. Stack trace etc.
You may be able to get into the dashboard directly, and that may work in spite of the error, by
yoursite.com/index.php/dashboard
Once there, set the diagnostics/debug options to give the maximum information on screen.