dbltoe:
That one is giving:
[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
> ```
if ($col_image = new upload('col_image')) {
to
$col_image = new upload('col_image');
if ($col_image !== null) {
>
> And, line 109
> ```
} elseif ($col_image->filename === 'none' || ($_POST['image_delete'] ?? 0) === '1')
to
} 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.
The code suggested by the 'code checker' results in the same functionality as that present in the current code. I'm not sure where that PHP error's coming from.