I have exact the same problem, probably after update to 3.8.1 today.
Warning: PHP Startup: failed to open stream: No such file or directory in /components/com_sppagebuilder/parser/addons.php on line 64
49 protected function get_image_dimension($src)
50 {
51 preg_match('/\__(.*?)\./', $src, $match);
52
53 if (count($match) > 1)
54 {
55 $dimension = explode('x', $match[1]);
56 return ['width="' . $dimension[0] . '"', 'height="' . $dimension[1] . '"'];
57 }
58
59 $validImageExtensions = ['jpg', 'jpeg', 'png'];
60 $extension = strtolower(pathinfo($src, PATHINFO_EXTENSION));
61
62 if (\in_array($extension, $validImageExtensions))
63 {
64 $dimension = \getimagesize($src);
65
66 if (!empty($dimension))
67 {
68 return ['width="' . $dimension[0] . '"', 'height="' . $dimension[1] . '"'];
69 }
70 }
71
72 return [];
73}