Title: PHP8 exception
Last modified: December 29, 2025

---

# PHP8 exception

 *  Resolved [programmin](https://wordpress.org/support/users/programmin/)
 * (@programmin)
 * [4 months, 3 weeks ago](https://wordpress.org/support/topic/php8-exception/)
 * “Cannot use a scalar value as an array”
 * wp-content/plugins/betterlinks/includes/Traits/DBMigrate.php in BetterLinks\Installer::
   update_settings
 * line 112

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [Amit Paul](https://wordpress.org/support/users/paulamit/)
 * (@paulamit)
 * [4 months, 3 weeks ago](https://wordpress.org/support/topic/php8-exception/#post-18770453)
 * Hi [@programmin](https://wordpress.org/support/users/programmin/) 
   Sorry to hear
   about the issue. Could you please specify which version of the BetterLinks plugin
   you’re currently using? So we can check!Thank you!
 *  Thread Starter [programmin](https://wordpress.org/support/users/programmin/)
 * (@programmin)
 * [4 months, 3 weeks ago](https://wordpress.org/support/topic/php8-exception/#post-18771903)
 * Version 2.4.1.
 *  Plugin Support [Pial](https://wordpress.org/support/users/iapial/)
 * (@iapial)
 * [4 months, 3 weeks ago](https://wordpress.org/support/topic/php8-exception/#post-18771944)
 * Hi [@programmin](https://wordpress.org/support/users/programmin/),
 * Thanks for sharing the BetterLinks version, that really helps.
 * We are still checking this on our end. When you get a moment, could you please
   let us know which PHP version your site is currently running. It would also be
   really helpful if you could share your site info report, so we can try to reproduce
   the issue in a similar environment and narrow this down properly.
 * Looking forward to your update.
 *  Plugin Support [Pial](https://wordpress.org/support/users/iapial/)
 * (@iapial)
 * [4 months, 2 weeks ago](https://wordpress.org/support/topic/php8-exception/#post-18773896)
 * Hi [@programmin](https://wordpress.org/support/users/programmin/),
 * Just following up here to see if you had a chance to check this.
 * When you have a moment, could you please let us know which PHP version your site
   is currently running. Since this looks related to PHP 8 behavior, that detail
   would really help us narrow things down.
 * If possible, sharing your site info report would also be useful. That way we 
   can try to recreate the same environment on our end and understand exactly where
   this is breaking.
 * Thanks for your patience. We are still looking into this and will update you 
   as soon as we have more clarity.
 *  Plugin Support [Pial](https://wordpress.org/support/users/iapial/)
 * (@iapial)
 * [4 months, 2 weeks ago](https://wordpress.org/support/topic/php8-exception/#post-18778679)
 * Hi [@programmin](https://wordpress.org/support/users/programmin/),
 * We haven’t heard back from you for a few days.
 * When you get a chance, please let us know which PHP version your site is running
   and share your site info. That will help us continue checking this properly.
 * Thanks for your understanding.
 *  Thread Starter [programmin](https://wordpress.org/support/users/programmin/)
 * (@programmin)
 * [4 months, 2 weeks ago](https://wordpress.org/support/topic/php8-exception/#post-18779528)
 * While it needs to _run on all recent versions of PHP_, this was specifically 
   PHP8.4 I believe.
 *  Plugin Support [Pial](https://wordpress.org/support/users/iapial/)
 * (@iapial)
 * [4 months, 1 week ago](https://wordpress.org/support/topic/php8-exception/#post-18781816)
 * Hello again [@programmin](https://wordpress.org/support/users/programmin/) 
   Thanks
   for sharing the details. That really helps.
 * We’ll investigate this on our end and get back to you as soon as we have an update.
   It may take a bit of digging, especially with the newer PHP version, but we’re
   on it.
 * In the meantime, if you notice anything else or run into another issue, please
   let us know.
 *  Plugin Support [Pial](https://wordpress.org/support/users/iapial/)
 * (@iapial)
 * [4 months, 1 week ago](https://wordpress.org/support/topic/php8-exception/#post-18785379)
 * Hi [@programmin](https://wordpress.org/support/users/programmin/),
 * Just a quick update for you.
 * We have released BetterLinks Free v2.4.3, and this issue has been fixed in the
   latest version. Please go ahead and update the plugin when you get a chance and
   let us know if everything works as expected on your end.
 * If you still notice anything unusual after the update, feel free to share the
   details and we will be happy to take another look. Thanks for your patience while
   we looked into this.
 *  Plugin Support [Pial](https://wordpress.org/support/users/iapial/)
 * (@iapial)
 * [4 months, 1 week ago](https://wordpress.org/support/topic/php8-exception/#post-18786754)
 * Hi [@programmin](https://wordpress.org/support/users/programmin/),
 * Just checking in one last time here. We have not heard back from you after the
   update, so we are assuming the issue is resolved on your end.
 * As mentioned earlier, we released BetterLinks Free v2.4.3 where this PHP 8 related
   issue has been fixed. Hopefully everything is now working smoothly for you.
 * We are going to mark this thread as resolved for now. Thanks a lot for reporting
   the issue in the first place, it really helped us track this down. If you run
   into anything else or notice something off again, feel free to open a new thread
   and we will be glad to help.

Viewing 9 replies - 1 through 9 (of 9 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp8-exception%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/betterlinks/assets/icon-256x256.gif?rev=2787401)
 * [BetterLinks – URL Shortener, Link Tracking, Analytics & Affiliate Link Manager](https://wordpress.org/plugins/betterlinks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/betterlinks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/betterlinks/)
 * [Active Topics](https://wordpress.org/support/plugin/betterlinks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/betterlinks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/betterlinks/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [Pial](https://wordpress.org/support/users/iapial/)
 * Last activity: [4 months, 1 week ago](https://wordpress.org/support/topic/php8-exception/#post-18786754)
 * Status: resolved