WPIntell

Source evidence

Warnings on Activate

GradeBook · support · 2015-11-29T15:16:00+00:00

mixedsentiment
mediumseverity
0.84relevance
2replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

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

4 / 31 rows with source links

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

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

27 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
jturet resolved
Great progress on this plugin, eagerly awaiting what is to come. Got a couple warnings on activation of the latest build: Warning: array_keys() expects parameter 1 to be array, boolean given in /wp-content/plugins/an-gradebook/GradeBook.php on line 34 Warning: in_array() expects parameter 2 to be array, null given in //wp-content/plugins/an-gradebook/GradeBook.php on line 34 https://wordpress.org/plugins/an-gradebook/ Hi jturet, This warning is usually attributed to a missing an options name/value in the wp_options table, most likely the an_gradebook_settings option. To troubleshoot, uncomment line 7 in plugins/an-gradebook/database/Database.php. That is, replace //add_action('plugins_loaded', array($this,'an_gradebook_upgrade_db')); with add_action('plugins_loaded', array($this,'an_gradebook_upgrade_db')); Reload your page and navigate to your gradebook. If the error is gone, then you didn’t have the an_gradebook_settings option in your wp_options table. The above fixes this issue. Now edit Database.php again, commenting out line 7. Regards, Aori Nevo Worked perfectly, I really appreciate it!

Comments

2 shown
Aori Nevo 2015-11-29T15:29:00+00:00

Hi jturet, This warning is usually attributed to a missing an options name/value in the wp_options table, most likely the an_gradebook_settings option. To troubleshoot, uncomment line 7 in plugins/an-gradebook/database/Database.php. That is, replace //add_action('plugins_loaded', array($this,'an_gradebook_upgrade_db')); with add_action('plugins_loaded', array($this,'an_gradebook_upgrade_db')); Reload your page and navigate to your gradebook. If the error is gone, then you didn’t have the an_gradebook_settings option in your wp_options table. The above fixes this issue. Now edit Database.php again, commenting out line 7. Regards, Aori Nevo

jturet 2015-11-30T05:10:00+00:00

Worked perfectly, I really appreciate it!