Joomdle 2.x Installation

COM_JOOMDLE_WEB_SERVICES_ERROR

  • Shane Nefdt
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 4 months ago #1 by Shane Nefdt
COM_JOOMDLE_WEB_SERVICES_ERROR was created by Shane Nefdt
Hi,
I'm being presented with this error after a recent update from PHP 7.4 to 8.1.25 and the Joomdle 2.2.2:
COM_JOOMDLE_WEB_SERVICES_ERROR: array_key_exists(): Argument #2 ($array) must be of type array, null given
Please advise how I can go about resolving this.

Please Log in or Create an account to join the conversation.

More
2 years 4 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic COM_JOOMDLE_WEB_SERVICES_ERROR
Hi.

Where do you get this error? Is system check all green?

Please Log in or Create an account to join the conversation.

  • Shane Nefdt
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 4 months ago #3 by Shane Nefdt
Replied by Shane Nefdt on topic COM_JOOMDLE_WEB_SERVICES_ERROR
No, this is the only error reported when I run System Check:
COM_JOOMDLE_JOOMDLE_WEB_SERVICES COM_JOOMDLE_JOOMLA_URL_MISCONFIGURED_IN_MOODLE_PLUGIN

Please Log in or Create an account to join the conversation.

More
2 years 4 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic COM_JOOMDLE_WEB_SERVICES_ERROR
You can check the raw replies:
www.joomdle.com/wiki/System_health_check#Raw_replies

Check the one in Moodle, which will contain the reply from Joomla, which is the one not working properly.

Please Log in or Create an account to join the conversation.

  • Shane Nefdt
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 4 months ago #5 by Shane Nefdt
Replied by Shane Nefdt on topic COM_JOOMDLE_WEB_SERVICES_ERROR
There's only a joomdle_system_check.json file - not a joomdle_system_check.xml file - the contents of the json file is as follows:

<br />
<b>Deprecated</b>: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in <b>/home/trainin1/public_html/libraries/vendor/joomla/application/src/Web/WebClient.php</b> on line <b>286</b><br />
<br />
<b>Deprecated</b>: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in <b>/home/trainin1/public_html/libraries/vendor/joomla/application/src/Web/WebClient.php</b> on line <b>289</b><br />
<br />
<b>Deprecated</b>: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in <b>/home/trainin1/public_html/libraries/vendor/joomla/application/src/Web/WebClient.php</b> on line <b>292</b><br />
<br />
<b>Deprecated</b>: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in <b>/home/trainin1/public_html/libraries/vendor/joomla/application/src/Web/WebClient.php</b> on line <b>295</b><br />
<br />
<b>Deprecated</b>: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in <b>/home/trainin1/public_html/libraries/vendor/joomla/application/src/Web/WebClient.php</b> on line <b>298</b><br />
<br />
<b>Deprecated</b>: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in <b>/home/trainin1/public_html/libraries/vendor/joomla/application/src/Web/WebClient.php</b> on line <b>301</b><br />
<br />
<b>Deprecated</b>: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in <b>/home/trainin1/public_html/libraries/vendor/joomla/application/src/Web/WebClient.php</b> on line <b>304</b><br />
<br />
<b>Deprecated</b>: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in <b>/home/trainin1/public_html/libraries/vendor/joomla/application/src/Web/WebClient.php</b> on line <b>307</b><br />
<br />
<b>Deprecated</b>: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in <b>/home/trainin1/public_html/libraries/vendor/joomla/application/src/Web/WebClient.php</b> on line <b>310</b><br />
"It works"

Please Log in or Create an account to join the conversation.

  • Shane Nefdt
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 4 months ago #6 by Shane Nefdt
Replied by Shane Nefdt on topic COM_JOOMDLE_WEB_SERVICES_ERROR
furthermore, when I navigate to "Users" in the Joomdle component, I'm presented with this error message:
Deprecated: urlencode(): Passing null to parameter #1 ($string) of type string is deprecated in /home/trainin1/public_html/administrator/components/com_joomdle/helpers/content.php on line 520

Please Log in or Create an account to join the conversation.

More
2 years 4 months ago #7 by Antonio Durán
Replied by Antonio Durán on topic COM_JOOMDLE_WEB_SERVICES_ERROR
It seems that you have error reporting on, and your system is spitting those errors anre breaking the connection.
It should work fine if you disable error reporting in Joomla.

I will check the other error, which is in Joomdle code, and get back to you.

Please Log in or Create an account to join the conversation.

  • Shane Nefdt
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 4 months ago #8 by Shane Nefdt
Replied by Shane Nefdt on topic COM_JOOMDLE_WEB_SERVICES_ERROR
Yes, it works fine after disabling the error reporting - the only error message displayed under system check is "Joomdle Web Services - Joomdle version is different in Joomla and Moodle

Please Log in or Create an account to join the conversation.

More
2 years 4 months ago #9 by Antonio Durán
Replied by Antonio Durán on topic COM_JOOMDLE_WEB_SERVICES_ERROR
Did you upgrade Joomdle in Joomla and Moodle to the same version? That error indicates that the versions are different.

Please Log in or Create an account to join the conversation.

  • Shane Nefdt
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 4 months ago #10 by Shane Nefdt
Replied by Shane Nefdt on topic COM_JOOMDLE_WEB_SERVICES_ERROR
This is what is currently installed:
You are using Joomdle 2.2.2
The currently installed Joomla! version is "‎5.0.1"‎5.0.1
Moodle 4.3 (Build: 20231009)

Please Log in or Create an account to join the conversation.