Custom Error: [2] Trying to access array offset on value of type bool
Error on line 32 in /home/padorogg/www/besenbeiz.padorogg.ch/wp-content/themes/cooks/header.php
PHP 8.2.24 (FreeBSD)
Code context:
30: 			$fullscreen_background_pattern = implode( ',', $fullscreen_background_pattern );
31: 			$src = wp_get_attachment_image_src( $fullscreen_background_pattern, '' );
32: 		    $src = $src[0];
33: 			echo '<div id="pattern_overlay" style="background-image:url('.$src.');"> </div>';
34: 			}
35: 	$layout_mode =  get_theme_mod('theme_layout_mode') ?  get_theme_mod('theme_layout_mode') :'fluid';
 
 
Custom Error: [2] Undefined array key 0
Error on line 3643 in /home/padorogg/www/besenbeiz.padorogg.ch/wp-includes/class-wp-query.php
PHP 8.2.24 (FreeBSD)
Code context:
3641: 
3642: 		/** @var WP_Post */
3643: 		$this->post = $this->posts[ $this->current_post ];
3644: 		return $this->post;
3645: 	}
3646: 

Author Archives: padorogg

Custom Error: [2] Trying to access array offset on value of type bool
Error on line 8 in /home/padorogg/www/besenbeiz.padorogg.ch/wp-content/themes/cooks/author.php
PHP 8.2.24 (FreeBSD)
Code context:
6: 	$kaya_options = get_option('kayapati');
7:  // Blog Page Options Left / Right / Fullwidth
8: 	$blog_page_options = $kaya_options['blog_page_options'] ? $kaya_options['blog_page_options'] : 'two_third';
9: 	$sidebar_class=( $blog_page_options == 'two_third' ) ? 'one_third_last' : 'one_third'; 
10: 	$sidebar_border_class=( $blog_page_options == 'two_third' ) ? 'right_sidebar' : 'left_sidebar';
11: 	?>