All add-ons currently require PHP 7.4 or greater.

On July 4th 2024 PHP 8.2 will be the new minimum requirement for all add-ons. Expect any add-on released after that date to require 8.2 or greater. Some releases may not immediately take advantage of 8.x specific features in PHP, which means you might, be able to continue using new releases in PHP 7.4, however, if you experience an error the first thing you should do is update to PHP 8.2 then create a support ticket if the error persists.

Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Add-on install (trail), Undefined array key “class”

Status Resolved
Add-on / Version Simple Grids & Tables trial-1.7.3
Severity
EE Version 7.3.14

Ben Houghton

Jan 16, 2024

Hi Brain

I have downloaded the latest trail version of your Simple Grids and tables and when I click install (clean install of EE) I am shown an error page (fig_1) 
When I dump out the $hooks array that is passed into the addHooks method I see

array(1) {
  [0]=>
  array(2) {
    ["hook"]=>
    string(9) "cp_js_end"
    ["method"]=>
    string(9) "cp_js_end"
  }
}

So it complains about not being able to find the array key “class” which makes sense as it appears to be called “method” in the hooks array.
I can as a workaround update line 31 to

'method' => $hook['method']

and it seems to be fine whilst I was having a play around with the functionality.

Thanks

#1

BoldMinded (Brian)

Thanks, I’ll take a look.

Login to reply