Support » Plugin: Admin Bar Color » Prevent fatal error in PHP 8.0

  • I’m using PHP 8.0 and encountered this issue, but it might’ve happened in earlier versions. Either way, it looks like there’s a basic TypeError issue with a quick fix.

    I’ve added a pull request with the proposed fix at:

    I’d love to see this fix implemented as these newer PHP versions are right around the corner (if not already there for some) with the fix then not being a hinderance (just adds a simple fix that does a check if a variable is empty or not to then avoid a TypeError).

Viewing 1 replies (of 1 total)
  • Thread Starter KZeni


    Hopefully this is something that could be given a few minutes to merge (per the fix at being very harmless & straightforward) and release on as it is causing fatal PHP errors on sites that might have this plugin installed that then are doing the right thing in updating their PHP version over time.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.