These are chat archives for collectiveaccess/support

20th
Jul 2018
jforestier
@jforestier
Jul 20 2018 13:04
Hi all! I habe a problem after upgrade to 1.7.6

Warning: array_map(): Argument #2 should be an array in ../app/helpers/printHelpers.php on line 196

Warning: array_shift() expects parameter 1 to be array, null given in ../app/helpers/printHelpers.php on line 196

CollectiveAccess
@collectiveaccess
Jul 20 2018 14:20
What version of PHP are you running?
sheggen
@sheggen
Jul 20 2018 19:15
My end user wants to remove parts of the accession number for all records. Can I modify the idno field in the ca_objects table using a script without breaking the system? Are there additional fields I need to update anywhere else?
CollectiveAccess
@collectiveaccess
Jul 20 2018 20:27
@sheggen If you modify it with a script using the CA API calls, it'll be ok but take into account any numbering requirements in multipart_id_numbering.conf
@sheggen If you modify it directly in a script or SQL query the changes won't be indexed and the search will still be operating on the old values. If you are doing it this way be sure to reindex the db after you run your script.
@sshipley64 That count query is being used to generate facet hit counts
If it's bogging down it may indicate something with your mysql configuration
Those queries aren't crazy fast but they shouldn't be unusably slow on a system with 25000 results