You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ErrorException: Warning: Trying to access array offset on value of type bool
File "/wp-content/themes/surfe/lib/twig/file-filters.php", line 42, in Mill3\Twig\Twig_File_Filters::check_extension
$id = gettype($file) == 'object' ? $file->ID : $file['ID'];
File "/wp-content/themes/surfe/lib/twig/file-filters.php", line 90, in Mill3\Twig\Twig_File_Filters::is_video
return $this->check_extension($file, array('mp4'));
File "/wp-content/plugins/timber-library/lib/Loader.php", line 79, in Timber\Loader::render
$output = $template->render($data);
File "/wp-content/plugins/timber-library/lib/Timber.php", line 334, in Timber\Timber::compile
$output = $loader->render($file, $data, $expires, $cache_mode);
File "/wp-content/plugins/timber-library/lib/Timber.php", line 383, in Timber\Timber::fetch
$output = self::compile($filenames, $data, $expires, $cache_mode, true);
...
(35 additional frame(s) were not displayed)
The text was updated successfully, but these errors were encountered:
thetoine
changed the title
ErrorException: Warning: Trying to access array offset on value of type bool
Twig_File_Filters::is_video : issue when file is non existent (empty upload field in CMS)
Jan 10, 2024
thetoine
changed the title
Twig_File_Filters::is_video : issue when file is non existent (empty upload field in CMS)
Twig_File_Filters->check_extension() method : issue when file is non existent (empty upload field in CMS)
Jan 10, 2024
Sentry Issue: PHP-SURFE-2W
The text was updated successfully, but these errors were encountered: