WPIntell

Source evidence

Activating Made WordPress Crash – Fix Inside

CT Optimization · support · 2023-08-03T02:58:00+00:00

complaintsentiment
highseverity
1.0relevance
3replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

7 / 33 rows with source links

21.2% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

26 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
originalpursuitsllc unresolved
Upon activation, my site crashed with a fatal error on line 285 in includes/class-codetot-admin-options-page.php because it passed a named parameter 'type' to the add_settings_field() function. This was included in line 270 of the same file, since $this->defaults['add_settings_field'] has an 'args' element. I temporarily fixed this by changing line 270 to read: $params = array_slice($params, 0, 5); // count($this->defaults['add_settings_field'])); Please be advised. Thanks for using my plugin. Actuallly we install and activate it in around 50 sites without any error. Could you see what PHP version do you actually use? I just tested it with PHP 7.4.21 and it operates correctly. However, on PHP 8.0.8, which is what I was using, it crashes with the above error. Asher Great, you figure it out. I will validate those code and patch it soon. You could see a code source here and create a new Pull Request: https://github.com/codetot-web/ct-optimization

Comments

3 shown
Khoi Pro 2023-08-03T08:35:00+00:00

Thanks for using my plugin. Actuallly we install and activate it in around 50 sites without any error. Could you see what PHP version do you actually use?

originalpursuitsllc 2023-08-03T18:22:00+00:00

I just tested it with PHP 7.4.21 and it operates correctly. However, on PHP 8.0.8, which is what I was using, it crashes with the above error. Asher

Khoi Pro 2023-08-04T03:06:00+00:00

Great, you figure it out. I will validate those code and patch it soon. You could see a code source here and create a new Pull Request: https://github.com/codetot-web/ct-optimization