hypothesis_aggregator icon indicating copy to clipboard operation
hypothesis_aggregator copied to clipboard

correcting errors in php 7.0.27 and 7.1.14

Open xolotl opened this issue 7 years ago • 0 comments

I guess PHP no longer likes is_array() and checking for variables without calling isset().

Notice: Undefined property: stdClass::$twitter in /Users/nate/Sites/xolotl.org/wp-content/plugins/hypothesis_aggregator/hypothesis-aggregator.php on line 92

Notice: Trying to get property of non-object in /Users/nate/Sites/xolotl.org/wp-content/plugins/hypothesis_aggregator/hypothesis-aggregator.php on line 92

Notice: Undefined property: stdClass::$facebook in /Users/nate/Sites/xolotl.org/wp-content/plugins/hypothesis_aggregator/hypothesis-aggregator.php on line 94

Notice: Trying to get property of non-object in /Users/nate/Sites/xolotl.org/wp-content/plugins/hypothesis_aggregator/hypothesis-aggregator.php on line 94

Notice: Undefined variable: image_url in /Users/nate/Sites/xolotl.org/wp-content/plugins/hypothesis_aggregator/hypothesis-aggregator.php on line 103

xolotl avatar Mar 20 '18 05:03 xolotl