ブログを書いてるのですがPHPのエラーで困っています。 どなたか解決策をご教示お願いします。 ワードプレスを使用 PHPのバージョンが8.4です Warning: Undefined array key "id" in /home/c7358855/public_html/life1food2share3blog.com/wp-content/plugins/google-analytics-for-wordpress/includes/admin/admin-assets.php on line 55 ↑が警告文です。 55番のところが if ( in_array( str_replace( '-js', '', $attrs['id'] ), $this->own_handles, true ) ) { $attrs['type'] = 'module'; } return $attrs; こんな感じです。
PHP・151閲覧