That one is giving:
Code:
[13-Jun-2025 17:14:50 UTC] PHP Parse error: syntax error, unexpected token "===" in /zc_plugins/BFFM/v2.0.1/admin/flexible_footer_menu2.php on line 109[13-Jun-2025 17:14:50 UTC] Request URI: /MY_ADMIN/index.php?cmd=flexible_footer_menu2, IP address: 123.234.255.255--> PHP Parse error: syntax error, unexpected token "===" in /zc_plugins/BFFM/v2.0.1/admin/flexible_footer_menu2.php on line 109.
[13-Jun-2025 17:14:50 UTC] Request URI: /MY_ADMIN/index.php?cmd=flexible_footer_menu2, IP address: 123.234.255.255
--> PHP Parse error: syntax error, unexpected token "===" in /zc_plugins/BFFM/v2.0.1/admin/flexible_footer_menu2.php on line 109.
How about a suggestion I got from a code checker.
Line 96
Code:
if ($col_image = new upload('col_image')) {
to
Code:
$col_image = new upload('col_image');
if ($col_image !== null) {
And, line 109
Code:
} elseif ($col_image->filename === 'none' || ($_POST['image_delete'] ?? 0) === '1')
to
Code:
} elseif ($col_image->filename === 'none' || (isset($_POST['image_delete']) && $_POST['image_delete'] === '1')) {
I have tried this solution and it works on the current site. The site is running PHP 8.3.20, so the === should not have been a problem.
Bookmarks