0

We're using Moxie v 2.1.7 and have just upgraded PHP to v8.0.29. Now we're getting the error "Trying to access array offset on value of type null" when trying to upload new images.

Do we need to upgrade Moxie to a later version (is PHP 8 even supported yet?) Or is it possible to just alter part of the Moxie code regarding array handling?

Thanks

Len
  • 11
  • 3
  • 2
    Please can you share the code that's causing the error? – Rob Eyre Aug 30 '23 at 10:29
  • 1
    Is this the "Moxie" you mean? https://www.moxiemanager.com/changelog/ If it is, you might have success with updating it to the newest version 2.1.14. It may not be, this project seems abandoned. If it isn't the Moxie you're using, could you provide a link to their project page? – YetiCGN Aug 30 '23 at 10:35
  • Are you sure this problem is related to TinyMCE? Usually, that does not run on the server, and thus would not throw such errors – Nico Haase Aug 30 '23 at 13:27
  • Does this answer your question? ["Notice: Undefined variable", "Notice: Undefined index", "Warning: Undefined array key", and "Notice: Undefined offset" using PHP](https://stackoverflow.com/questions/4261133/notice-undefined-variable-notice-undefined-index-warning-undefined-arr) – Markus Zeller Aug 30 '23 at 14:40

0 Answers0