Error adding images

I’m getting a strange error when I try to add an image to a page. The site has been running for years, is on a theme based on Typhoon, the server is running fine, but when I add an image to a page the image get a big exclamation mark next to it. On mouseover I get what looks like the HTML to an error page.

The dev site works fine, and I added images to the public site last week with no problems… I’m a bit lost.

It has resolved itself. 30 mins of madness?

1 Like

I’m getting the same error. The main message in the source code HTML that pops up is “Enable JavaScript and Cookies to continue”.

On the GRAV logs I’m getting

 `/home/invitati/public_html/vendor/filp/whoops/src/Whoops/Run.php(514): Whoops\Run->handleError() 
 /home/invitati/public_html/system/src/Grav/Common/Errors/SystemFacade.php(43): Whoops\Run->handleShutdown() 
 [internal function]: Grav\Common\Errors\SystemFacade->handleShutdown() 
 {main}`

On the browser console I’m getting:
Experiment add-an-image-to-pdf-with-alt-text-rollout has unknown featureId: addAnImageInPDF RemoteSettingsExperimentLoader.sys.mjs:954:21

TypeError: watcherInfo.watcher.conn is null #onConnectionClosed resource://devtools/server/connectors/js-process-actor/DevToolsProcessParent.sys.mjs:209 _emit resource://devtools/shared/event-emitter.js:242 emit resource://devtools/shared/event-emitter.js:186 emit resource://devtools/shared/event-emitter.js:330 onTransportClosed resource://devtools/server/devtools-server-connection.js:478 close resource://devtools/shared/transport/local-transport.js:175 close resource://devtools/shared/transport/local-transport.js:170 close resource://devtools/client/devtools-client.js:157 destroy resource://devtools/shared/commands/index.js:107 event-emitter.js:257:19

Tried to send a 'target-destroyed-form' event on an already destroyed actor 'watcher' Actor.js:59:15

NotFoundError: No such JSProcessActor 'BrowserToolboxDevToolsProcess'

I have a dev site on a local server and everything is still running fine on there.

I have no idea what might be going on, all help appreciated.

@dan-james, In the first image you shared, it seems an entire page, titled “Just a moment”, has been returned to Admin.

  • I’ve searched the Grav+Admin code source, but it does not contain “Just a moment”
  • If Grav were to handle an error, I would suspect another result.
  • Maybe there is something between Admin and the Grav server in your production environment that returns a page?
    Cloudflare perhaps?
  • When searching the web for Cloudflare “just a moment”, there are quite a few hits about a so called “Just a moment Page”…
    • About it being an issue
    • And how to solve it

Cloudfare would be my first pick and I cannot help you with that…

1 Like

Thanks - I’ll try turning Cloudflare off and see if that solves it … if it does, I’ll investigate further.

Yes, it was Cloudflare’s Security Rules that were injecting a challenge. I’ve made a rule so they don’t apply if i’m uploading images within admin and it’s solved the problem.

Cheers for spotting that it was Cloudflare, @pamtbaau