Notice: Trying to access array offset on value of type int wordpress
-
Wondering if anybody could help me with this.
Getting a notice for the following code:Notice: Trying to access array offset on value of type int
Code is the following:
if ($important = $name[0] == '!') {
How can I re-write the code to get rid of the notice?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Notice: Trying to access array offset on value of type int wordpress’ is closed to new replies.