pivotx / PivotX

GNU General Public License v2.0
4 stars 5 forks source link

Uncaught mysqli_sql_exception in module_sql.php #11

Closed Darkseid1981 closed 1 year ago

Darkseid1981 commented 1 year ago

I tried to add categories on my offline server (xampp) and got a blank page. So I checked the php error log. This after updating to the latest master. here is the php error log: php_error_log.txt

Looks like one solution leads to another bug. Sorry, I feel like I'm wasting your time with all these annoying bugs, when I'm trying out all of the pivotx features.

hansfn commented 1 year ago

This is a bug. Thx for the report. (It's not a support question.)

hansfn commented 1 year ago

Just for the record: The bug was introduced when fixing all the "Undefined array key" notices reported by PHP 8.

In addition to fixing the introduced bug, ref commit above, the code was improved for the specific case were only entries are counted.