Quantcast
Channel: PKP Community Forum - Latest topics
Viewing all articles
Browse latest Browse all 27299

OMP 1.2: oai error with getCoverageGeo

$
0
0

@Alfredo_Cosco wrote:

Hi all,
the installation of my new version of OMP goes on and now I'm facing an error on OAI-PMH page.
When I call:

http://[my-path]/oai?verb=ListRecords&metadataPrefix=oai_dc

I have this error:
Fatal error: Call to undefined method PublishedMonograph::getCoverageGeo() in /home/cab/hosted/omp/www/plugins/metadata/dc11/filter/Dc11SchemaPublicationFormatAdapter.inc.php on line 171

As a workaround i changed the line 171 from:

$coverage = (array) $monograph->getCoverageGeo(null);

To:

$coverage = array();

And now the ListstRecords works well, but I don't think that it is the right solution.
Do you?

Thanks,
A.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 27299

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>