Closed lexpostma closed 1 month ago
I’ve now tested this on a local WordPress install too. Getting a similar error with enabling this plugin:
There was an error. null is not an object (evaluating 'preflightResponse.endpoints’)
Again, the error is disappears when I disable “Enable Mastodon Apps”.
Sorry for the trouble, could you share a screenshot of the developer tools that show that error message so that the backtrace is visible? (a list of filenames)
I wish I knew how. The error shows in the WordPress UI, but not in the console. When I click the error, it just disappears. Here’s a screenshot and a screen recording.
After I reload, I clear the console and then click Update to trigger the error. No new messages show up in the console. This is in Safari, same happens in Firefox.
https://github.com/user-attachments/assets/b5364bc4-601b-45e3-92e1-aaf8a8bb035e
Is this what you meant? If not, please let me know what other dev tools I can pull up to assist.
I'm not sure I am familiar with that widget screen. Which theme do you use?
It’s my own custom theme, which is a fork from Twenty Twenty-Three. When I activate theme Twenty Twenty-Three version 1.5, the same happens. Also in Twenty Twenty-Four version 1.2.
I have widgets on my WordPress site and include some shortcodes for Font Awesome (not sure if this is relevant). When I update a widget and want to save it, I’m getting the following error:
I tried several things, including WP Debug and disabling plugins one by one. Disabling “Enable Mastodon Apps” resolved the error, so I expect it might be caused by this plugin.
Hope you can resolve it. Please let me know how I can assist in finding the issue.