• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Corporate Pro implode function on PHP 8.2

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Retired StudioPress Themes › Corporate Pro implode function on PHP 8.2

This topic is: not resolved

Tagged: "corporate pro", php

  • This topic has 5 replies, 4 voices, and was last updated 2 months ago by jgmarshall.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • September 20, 2024 at 8:29 am #508421
    Dan
    Participant

    Hi folks,
    I just had an error reported which involved Corporate Pro. In /themes/corporate-pro/includes/helpers.php:293 the implode function is only valid for PHP 7.4 and below. For PHP 8+ you need to amend it so $string and $array are reversed, otherwise it throws a Fatal Error. (At least it did for me)

    https://www.php.net/manual/en/function.implode.php

    Hope that helps somebody.

    Dan 🙂


    DJA Online – WordPress development, website support and maintenance

    September 20, 2024 at 10:24 am #508423
    AnitaC
    Keymaster

    Hi Dan! Saw your post in Slack and Mike helped you there.


    Need help with customization or troubleshooting? Reach out to me.

    September 22, 2024 at 2:04 am #508427
    Dan
    Participant

    Hi Anita, he did. I was actually posting this as a sort of solution 🙂


    DJA Online – WordPress development, website support and maintenance

    September 22, 2024 at 11:08 am #508428
    AnitaC
    Keymaster

    Oh, gotcha!


    Need help with customization or troubleshooting? Reach out to me.

    August 25, 2025 at 8:45 am #509213
    riversidemediagroup
    Participant

    Dan, can you please provide the exact code you changed helpers.php:293 to? I'm having the same problem and can't seem to fix it. Thanks!

    September 8, 2025 at 7:58 pm #509242
    jgmarshall
    Participant

    This is the code that I used in PHP 8.0 for the implode issue. The site is working up to 8.1.

    $rgba = implode(',', $rgb) . ',' . $opacity;

    A different problem seems to have developed in 8.2, and I've not tackled it yet.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Log In

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble