Firstly, you would want to rule out that phpMyAdmin is not the problem. Try the same commands with mysql shell/client or even with mysql workbench on a windows system.
On Tuesday, 25 January 2022 at 5:47:42 pm UTC+10 [email protected] wrote: > Hi everyone > > my weewx mysql database is acting weird. > > I've logged into phpmysql and I'm getting the following error, no matter > what table I'm trying to open > > *Warning* in ./libraries/sql.lib.php#613 > count(): Parameter must be an array or an object that implements Countable > > *Backtrace* > > ./libraries/sql.lib.php#2128: PMA_isRememberSortingOrder(array) > ./libraries/sql.lib.php#2062: PMA_executeQueryAndGetQueryResponse( > array, > boolean true, > string 'weewx', > string 'archive_day_appTemp', > NULL, > NULL, > NULL, > NULL, > NULL, > NULL, > string '', > string './themes/pmahomme/img/', > NULL, > NULL, > NULL, > string 'SELECT * FROM `archive_day_appTemp`', > NULL, > NULL, > ) > ./sql.php#221: PMA_executeQueryAndSendQueryResponse( > array, > boolean true, > string 'weewx', > string 'archive_day_appTemp', > NULL, > NULL, > NULL, > NULL, > NULL, > NULL, > string '', > string './themes/pmahomme/img/', > NULL, > NULL, > NULL, > string 'SELECT * FROM `archive_day_appTemp`', > NULL, > NULL, > ) > > Can anyone help me out to fix this? > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/4d50837f-c818-42b4-bd83-2875ab4e6fd6n%40googlegroups.com.
