After upgrade to OJS 3.3.0.3 - PHP Fatal error: Uncaught Exception: Could not convert selected objects

Yesterday I upgraded OJS from 3.2.1.3 to 3.3.0.3 and today, I found the following PHP error in log:

[20-Feb-2021 09:14:59 America/New_York] PHP Fatal error:  Uncaught Exception: Could not convert selected objects. in /home/seisense/journal.seisense.com/lib/pkp/classes/plugins/ImportExportPlugin.inc.php:181
Stack trace:
#0 /home/seisense/journal.seisense.com/classes/plugins/PubObjectsExportPlugin.inc.php(397): ImportExportPlugin->displayXMLValidationErrors(Array, '<?xml version="...')
#1 /home/seisense/journal.seisense.com/plugins/importexport/crossref/CrossrefInfoSender.inc.php(124): PubObjectsExportPlugin->exportXML(Array, 'article=>crossr...', Object(Journal))
#2 /home/seisense/journal.seisense.com/plugins/importexport/crossref/CrossrefInfoSender.inc.php(66): CrossrefInfoSender->_registerObjects(Array, 'article=>crossr...', Object(Journal), 'articles')
#3 /home/seisense/journal.seisense.com/lib/pkp/classes/scheduledTask/ScheduledTask.inc.php(146): CrossrefInfoSender->executeActions()
#4 /home/seisense/journal.seisense.com/lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php(257): ScheduledTask->execute()
#5 [internal function]: PKPAcronPlugin->shutdownFunction() in /home/seisense/journal.seisense.com/lib/pkp/classes/plugins/ImportExportPlugin.inc.php on line 181

I tried to validate and export the article using crossref XML export plugin but got the following validation error:

Validation errors:
Element '{http://www.crossref.org/schema/4.3.6}ORCID': This element is not expected. Expected is ( {http://www.crossref.org/schema/4.3.6}alt-name ).

Invalid XML:
<?xml version="1.0" encoding="utf-8"?>
<doi_batch xmlns="http://www.crossref.org/schema/4.3.6" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jats="http://www.ncbi.nlm.nih.gov/JATS1" xmlns:ai="http://www.crossref.org/AccessIndicators.xsd" version="4.3.6" xsi:schemaLocation="http://www.crossref.org/schema/4.3.6 https://www.crossref.org/schemas/crossref4.3.6.xsd">
  <head>
    <doi_batch_id>_1613840732</doi_batch_id>
    <timestamp>1613840732</timestamp>
    <depositor>
      <depositor_name>xxxxx</depositor_name>
      <email_address>xxxxxxx</email_address>
    </depositor>
    <registrant>xxxxxx</registrant>
  </head>
  <body>
    <journal>
      <journal_metadata>
        <full_title>SEISENSE Journal of Management</full_title>
        <abbrev_title>SJOM</abbrev_title>
        <issn media_type="electronic">2617-5770</issn>
      </journal_metadata>
      <journal_issue>
        <publication_date media_type="online">
          <month>02</month>
          <day>03</day>
          <year>2021</year>
        </publication_date>
        <journal_volume>
          <volume>4</volume>
        </journal_volume>
        <issue>2</issue>
      </journal_issue>
      <journal_article xmlns:jats="http://www.ncbi.nlm.nih.gov/JATS1" xmlns:ai="http://www.crossref.org/AccessIndicators.xsd" publication_type="full_text" metadata_distribution_opts="any">
        <titles>
          <title>Appraising Public Value in the Public Sector: Re-evaluation of the Strategic Triangle</title>
        </titles>
        <contributors>
          <person_name contributor_role="author" sequence="first" language="en">
            <given_name>Malang B.S.</given_name>
            <surname>Bojang</surname>
            <ORCID>https://orcid.org/0000-0003-0041-269X</ORCID>
            <ORCID>https://orcid.org/0000-0003-0041-269X</ORCID>
          </person_name>
        </contributors>
        <jats:abstract xmlns:jats="http://www.ncbi.nlm.nih.gov/JATS1">
          <jats:p>Purpose- This article aims to address public value by assessing public programs and services' success in a more cost-effective way. The study also investigates how public managers and elected officials can use public value to guide their decisions on resource allocation to create value for the citizens.
Design/methodology- To meet this study's aims, Mark Moore’s strategic triangle is used as the framework for this study. This is a comprehensive framework that evaluates the performance of public sector programs and service delivery. Data for this study has been collected via a primary scoping of the literature on public value. Database searches were conducted in the Social Sciences Index, SCOPUS journals, ISI Social Sciences Citation Index, and Google Scholar.
Findings- From the investigation, the result indicates that public value is created by government or public managers in their daily transactions and by non-profit organizations that articulate their objectives and find popular support for the community's common good.                                                                                               
Practical implications- Arguably, public value management provides a necessary improvement to public management theories. It redefines the function of public sector managers in the provision of socially desirable outcomes through citizen engagement. As a progress appraisal tool in public organizations, it offers a broader and inclusive framework than the New Public Management (NPM).
Originality/value- This study's results contribute to the knowledge and literature of public value in the public sector.  The strategic triangle builds on the challenges and weaknesses of NPM and it aims at reshaping institutions to prioritize value creation for citizens.</jats:p>
        </jats:abstract>
        <publication_date media_type="online">
          <month>02</month>
          <day>03</day>
          <year>2021</year>
        </publication_date>
        <pages>
          <first_page>1</first_page>
          <last_page>10</last_page>
        </pages>
        <ai:program xmlns:ai="http://www.crossref.org/AccessIndicators.xsd" name="AccessIndicators">
          <ai:license_ref>https://creativecommons.org/licenses/by/4.0</ai:license_ref>
        </ai:program>
        <doi_data>
          <doi>10.33215/sjom.v4i2.551</doi>
          <resource>https://journal.seisense.com/index.php/jom/article/view/551</resource>
          <collection property="crawler-based">
            <item crawler="iParadigms">
              <resource>https://journal.seisense.com/index.php/jom/article/download/551/140</resource>
            </item>
          </collection>
          <collection property="text-mining">
            <item>
              <resource mime_type="application/pdf">https://journal.seisense.com/index.php/jom/article/download/551/140</resource>
            </item>
          </collection>
        </doi_data>
      </journal_article>
    </journal>
  </body>
</doi_batch>

Moreover, I suspect the usage stats are not updating as well.
Please help me to solve this issue.
Thanks

1 Like

Hi,
Now crossref is validating and submitting records to crossref without any errors. Yet I noticed, that every day when the Acron plugin update the usage stats, I see the following fatal error in php error log:

[06-Mar-2021 09:35:26 America/New_York] PHP Deprecated:  Non-static method Core::_getBaseUrlAndPath() should not be called statically in /home/seisense/journal.seisense.com/lib/pkp/classes/core/Core.inc.php on line 231
[06-Mar-2021 09:35:46 America/New_York] PHP Fatal error:  Uncaught Exception: Could not convert selected objects. in /home/seisense/journal.seisense.com/lib/pkp/classes/plugins/ImportExportPlugin.inc.php:181
Stack trace:
#0 /home/seisense/journal.seisense.com/classes/plugins/PubObjectsExportPlugin.inc.php(397): ImportExportPlugin->displayXMLValidationErrors(Array, '<?xml version="...')
#1 /home/seisense/journal.seisense.com/plugins/importexport/crossref/CrossrefInfoSender.inc.php(124): PubObjectsExportPlugin->exportXML(Array, 'article=>crossr...', Object(Journal))
#2 /home/seisense/journal.seisense.com/plugins/importexport/crossref/CrossrefInfoSender.inc.php(66): CrossrefInfoSender->_registerObjects(Array, 'article=>crossr...', Object(Journal), 'articles')
#3 /home/seisense/journal.seisense.com/lib/pkp/classes/scheduledTask/ScheduledTask.inc.php(146): CrossrefInfoSender->executeActions()
#4 /home/seisense/journal.seisense.com/lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php(257): ScheduledTask->execute()
#5 [internal function]: PKPAcronPlugin->shutdownFunction() in /home/seisense/journal.seisense.com/lib/pkp/classes/plugins/ImportExportPlugin.inc.php on line 181

Please help me in fixing this error.
I am using
OJS: 3.3.0.3
PHP: 7.14

Thanks

1 Like

Hi
I have the same problem
Is there anyone to guide?
thank you

Hi @vip_speed,

You may wish to create a new post outlining the issue you’re experiencing, as this is an older post.

-Roger
PKP Team