First: On the Backlight Modules page, click on the Reinstall All link. Click on Reinstall for the Cart
(try this first in case there have been silent fixes in Backlight)
If that doesn’t fix it:
From your host’s CPanel, try reverting to an earlier version of php,
@Ben I can confirm the error Kurt encountered happens with php 8.1.3
On my test site, with php 8.0.16 everything worked correctly. I changed it to php 8.1.3 and the error popped up in the PayPal portion of checking out.
Hi @rod_barbee and @Kurt, PHP 8.1 has proven quite problematic. We’ve had a couple of rounds of updates to address issues, and will now look to fix these issues.
Hi @Kurt, I haven’t been able to replicate this error message, however I’ve put in changes to the code that should address this and also fix the issue at Uploading full-sized image problem
Can you try reinstalling the main Backlight modules by clicking ‘Reinstall’ under ‘Backlight’ on the Backlight modules page?
This issue has reared its ugly head again… When trying to complete a PayPal transaction, the following error message occurs:
Something went wrong
str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in Parsedown.php on line 30.
My site is currently using PHP version 8.1.25. We attempted to go to a newer version (8.2) and it gave the same error.
I wonder if your host updated php to be compatible with the latest parsedown. Just a guess.
Since this thread was first started, BL 5 has been released, so I don’t know that BL4 will be updated to be compatible with latest version of Parsedown.
It’s happening once you’re on the PayPal screen to make the payment. When you click to make the payment, the PayPal screen shows it’s trying to pay, and then the error message occurs. The payment never completes.
Hi @Kurt, I found that the updated Parsedown needed an additional check on the value being passed. I’ve put in a silent fix, which can be applied by visiting Backlight Modules and clicking ‘Reinstall’ for module-framework.
I suspect though that while this will get past this particular error, that it won’t solve the underlying issue with your PayPal setup. Can you report back with any further issues after updating module-framework?
Hi @Kurt, you should not be seeing this error. I had missed you were running Backlight 4, so put the fix in for Backlight 5 (which needed the fix as the version of Parsedown has since been upgraded). Backlight 4 already had this fix with version 4.1.3, released over a year ago. Can you check that you are up-to-date in Backlight Modules?
I used to use Backlight 4 (that’s when t think this problem showed up in the past.) I am currently on the latest version of Backlight 5 (everything is updated).