Omeka S module issues and log

I am having two issues, any help would be great!

issue 1 : recently upgraded Omeka S and when i try to select upgrade module it sends me to fails.

issue 2: here are my logs, how do i fix this?

Error: Call to a member function getReference() on null in /home/customer/www/archives.dickinsonhistoricalsociety.org/public_html/modules/Mapping/src/Api/Representation/MappingMarkerRepresentation.php:17
Stack trace:
#0 /home/customer/www/a… Apr 23, 2024, 2:34:35 PM error
Error: Call to a member function getReference() on null in /home/customer/www/archives.dickinsonhistoricalsociety.org/public_html/modules/Mapping/src/Api/Representation/MappingMarkerRepresentation.php:17
Stack trace:
#0 /home/customer/www/a… Apr 22, 2024, 11:04:03 PM error
Error: Call to a member function getReference() on null in /home/customer/www/archives.dickinsonhistoricalsociety.org/public_html/modules/Mapping/src/Api/Representation/MappingMarkerRepresentation.php:17
Stack trace:
#0 /home/customer/www/a…

What version of Omeka S are you using? What version of Mapping produces the error? What exactly happens when you upgrade the module? That error shouldn’t occur when upgrading. Could you post the entire stack trace?