PHP 8 Bidding Issue
-
We had reports of users not being able to bid. Error log showed the following error:
PHP Fatal error: Uncaught TypeError: Unsupported operand types: string + string in /wp-content/plugins/ultimate-auction/ultimate-auction.php:346
Type casting the variables on that line seems to have sorted it out.
$next_bid = (float)$next_bid + (float)get_post_meta(esc_attr($_POST['auction_id']), 'wdm_incremental_val',true);
Hopefully this helps someone.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘PHP 8 Bidding Issue’ is closed to new replies.