Since a while the description of a already made class wont change but stays “0”.
So I have a few installations with ModTimetable and with all installations if I edit the description of the class and save it it changes to 0.
The error occurs since the PHP upgrade 5.6.40. > 7.4.9.
My PHP knowledge is OK but not pro. Can anyone give some pointers what the problem could be?
The problem could be that in the database schema the field “description” has a phptype of “text” (instead of “string”)
<field key="description" dbtype="text" phptype="text" null="false" default="" />
Does it fix the problem, if you change this line to
'phptype' => 'string',
WOW. Exactly what I hoped. How did you know where to look?
This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.