Cannot convert blob:https://…. to Blob. Resource might not exist or is inaccessible

Hello Friends,
We are having this issue, as shown in the screenshoot. When going to workflow page.
at the same time, several errors are also shown in Console, when inspecting.
Please advice, appreciate any help

We are on OJS 3.4.0.4

error inside OJS:

error inside Console:

Hi @Omid,

Have you checked your PHP error log? That tends to provide more clues than the console error log does in these instances.

-Roger
PKP Team

1 Like

Thanks for your reply.
We don’t see any error inside the error log of the system.
However, we see these warnings:

[17-Feb-2024 08:41:21 UTC] PHP Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /**plugins/generic/piwik/PiwikPlugin.php on line 114
[17-Feb-2024 08:41:28 UTC] PHP Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /**plugins/generic/piwik/PiwikPlugin.php on line 114
[17-Feb-2024 08:41:28 UTC] PHP Deprecated: Function mhash() is deprecated in /lib/pkp/classes/statistics/PKPStatisticsHelper.php on line 144
[17-Feb-2024 08:41:30 UTC] PHP Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /
/plugins/generic/piwik/PiwikPlugin.php on line 114

Hello friends, we have the same problem here with the warning message in the workflow section and we don’t know how to fix it.

Sebastian

It seems the error you’re encountering, “Cannot convert blob:https://…. to Blob. Resource might not exist or is inaccessible,” is often caused by images in the text editor being referenced via blob URLs rather than direct URLs.

To resolve this issue, I recommend the following steps:

  • Check the images in the text editor: Ensure that the images are not using blob URLs. Blob URLs are temporary and can lead to issues like the one you’re experiencing.

  • Inspect the HTML code in the text editor: Look for any references to blob URLs within the HTML code of your content. Replace these blob URLs with direct URLs to the images if possible.

  • Upload images directly: Instead of relying on blob URLs, upload the images directly to your server or a reliable image hosting service and use the provided direct URLs.

Please let me know if your problem is not resolved.

1 Like