내가 얻을 오류 경고 : '임대'오프셋 불법 문자열경고 : 오프셋 불법 문자열 - PHP 5.4
<?php
$rentdata = get_option("rent_data", true);
if ($rentdata["rent"] == 1 || $rentdata["rent"] == true) {
echo $rentdata["template"];
}
$fontsStyls = get_option("google_font_settings", true);
?>
'print_R ($ rentdata);'그러면 오류가 발생하는 이유를 알 수 있습니다! – Rizier123
인덱스'rent'가 존재하지 않으면, 그 상태는 꽤 많이 엉망이됩니다. – Ghost
'$ rentdata'는 배열이 아닌 문자열입니다 – Steve