PHP Fatal error: Unparenthesized a ? b : c ? d : e is not supported

Ticket for: Combo Blocks
0
PHP Fatal error: Unparenthesized a ? b : c ? d : e is not supported 1
Anonymous
Dec 06, 2022 10:57 PM 1 Answers
Member Since Jan 1970
Unsolved Solved Mark as Solved Mark as Unsolved
Subscribed Subscribe Not subscribe
Flag(0)

Thanks for your recent Post Grid Combo/Pro updates!  They fixed some errors as we test PHP 8.0 for our site.  Unfortunately, one error persists.  It works OK in PHP 7.4, but not 8.0.

Should we have disabled 1 of these 2 plugins?  Is there something you or we could do to fix it?

  • Error message: "There has been a critical error on this website."
  • Trigger: trying to open either the site home page ("GET /") or WordPress dashboard ("GET /wp-admin/index.php")
  • Error.log says: "PHP message: PHP Fatal error: Unparenthesized `a ? b : c ? d : e` is not supported. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /.../public/wp-content/plugins/post-grid-pro/includes/functions/functions-post-grid-meta-box.php on line 61" while reading response header from upstream
  • PHP 8.0 (was OK in 7.4)
  • WordPress Core: 6.1.1
  • Post Grid Combo: 2.2.9
  • Post Grid Pro: 3.2.20
  • Theme: custom
0 Subscribers
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
PHP Fatal error: Unparenthesized a ? b : c ? d : e is not supported 2
Azizul Raju
Dec 07, 2022
Flag(0)

Hi,
Welcome to PickPlugins.

I think you're using an older version of our premium plugin. Please deactivate and delete the current pro version and install the latest version from here https://pickplugins.com/my-account/downloads

No worries, you'll not lose any of your saved data.
Let us know if you face any issues.

Regards.

PHP Fatal error: Unparenthesized a ? b : c ? d : e is not supported 3
Azizul Raju
- Dec 13, 2022 11:19 AM
Flag (0)
1

Our plugin name was ‘Post Grid’. We just renamed the plugin name to ‘Post Grid Combo’. So, ‘post grid’ and ‘post grid combo’ is the same plugin.

To unlock premium features and other blocks, you must add the license key under the ‘Post grid combo’ setting. You don’t need the ‘post grid pro’ plugin. The premium features will automatically unlock if you have the license key included. Screenshot:
https://i.imgur.com/LjOsCgn.png
https://i.imgur.com/ZWpYVVU.png

But if you also want to create a shortcode base post-grid, then you’ve to add the ‘post-grid-pro’ plugin along with the ‘post grid combo’.
Screenshot:
https://i.imgur.com/W1uCAAN.png
https://i.imgur.com/WFupmp0.png

For Quadax.com, I can’t see any active license. You can purchase a license for ‘Post Grid Combo’ and ‘post grid pro’ here-
https://pickplugins.com/post-grid/purchase-license/

If you want to post privately, you can submit a new answer with the private checkbox instead of a reply.
Screenshot: https://i.imgur.com/F9PyTvw.png

Regards.

PHP Fatal error: Unparenthesized a ? b : c ? d : e is not supported 4
brianbaddour
- Dec 12, 2022 11:26 PM
Flag (0)
0

Thanks for the quick response, Azizul. I respect your sense of privacy.

Is the Post Grid Premium plugin the same as Post Grid Pro?

As our staff has changed over the years, I’m still confused whether a license was purchased for our company/domain, or might have expired. Could you at least indicate whether you have any CURRENT licenses for Quadax.com, so we don’t make a duplicate purchase?

(Sorry, I don’t see how to mark this comment as private. No “Private” checkbox, and the “Send a Mail” button doesn’t seem to do anything.)

PHP Fatal error: Unparenthesized a ? b : c ? d : e is not supported 3
Azizul Raju
- Dec 10, 2022 11:40 AM
Flag (0)
0

Hi Brianbaddour,
Sorry for my late reply.

It’s against our company policy to share with someone else information. However, If you can provide us with the license key you’re using, we’ll provide you with a new one!

Note: Our team will check the validity of the license. Please mark your reply as private before sensitive answering.

Regards.

1+ more comments. Sign in to Reply
Replying as Submit