BibleGet-I-O / bibleget-wordpress

Plugin for WordPress that let's you insert Bible quotes into your posts or pages from a variety of Bible versions in different languages. This is a mirror of the SVN repo where the plugin gets published to the WordPress plugins store. Kudos to @kas-catholic for helping import the repo from SVN.
https://www.bibleget.io
Apache License 2.0
0 stars 2 forks source link

undefined array key "biblebooks" #24

Open JohnRDOrazio opened 4 months ago

JohnRDOrazio commented 4 months ago

Undefined array key "biblebooks" in /var/www/vhosts/johnromanodorazio.com/httpdocs/wp-content/plugins/bibleget-io/includes/QueryValidator.php on line 265

PHP message: PHP Fatal error: Uncaught TypeError: in_array(): Argument #​2 ($haystack) must be of type array, null given in /var/www/vhosts/johnromanodorazio.com/httpdocs/wp-content/plugins/bibleget-io/includes/QueryValidator.php:265

Stack trace:

0 /var/www/vhosts/johnromanodorazio.com/httpdocs/wp-content/plugins/bibleget-io/includes/QueryValidator.php(265): in_array()

​1 /var/www/vhosts/johnromanodorazio.com/httpdocs/wp-content/plugins/bibleget-io/includes/QueryValidator.php(274): QueryValidator->isValidBookForVariant()

​2 /var/www/vhosts/johnromanodorazio.com/httpdocs/wp-content/plugins/bibleget-io/includes/QueryValidator.php(207): QueryValidator->validateBibleBook()

​3 /var/www/vhosts/johnromanodorazio.com/httpdocs/wp-content/plugins/bibleget-io/includes/QueryValidator.php(424): QueryValidator->validateAndSetBook()

​4 /var/www/vhosts/johnromanodorazio.com/httpdocs/wp-content/plugins/bibleget-io/bibleget-io.php(318): QueryValidator->ValidateQueries()

​5 /var/www/vhosts/johnromanodorazio.com/httpdocs/wp...'