The school's adjustment and suspension system is running well. Today, something suddenly went wrong! The error "undefinedindex50baseCComponent. php (616): eval () dcodeonline1" is not an inexplicable error? After checking for a long time, you can understand it! Generally, errors related to eval () should be
The school's adjustment and suspension system is running well. Today, something suddenly went wrong! Error: undefined index 50 base/CComponent. php (616): eval () 'd code on line 1 I 've been depressed for a while. Isn't this an inexplicable error? After checking for a long time, you can understand it! Generally, errors related to eval () should be
The school's adjustment and suspension system is running well. Today, something suddenly went wrong!
Error:
Undefined index 50
...... Base/CComponent. php (616): eval () 'd code on line 1
I have been depressed for a while. Isn't this an inexplicable mistake?
After checking for a long time, you can understand it!
Generally, errors related to eval () should be caused by the use of strings instead of using strings!
The values in the CGrid of YII must be strings.
So I changed the value of each column to a fixed value without any error!
Then the exclusion of one field is finally locked on one field. The original field needs to replace the numeric representation of the database with a friendly text display. After adding 50 corresponding array elements, the error is eliminated!
Summary errors related to eval () are mostly irrelevant to strings!