Ahh...The image has no problem showing on the post. It doesn’t appear in the attachment manger
Ok, I understand.That’s strange it doesn’t for me. Clicking on the image link does but doesn’t appear on the forum.
View attachment 310740
If you replace this:@digitalpoint
Getting this error when trying to use the spam cleaner from the front end with the check IPs option enabled. Seems everything else runs fine prior to the error.
Error Log
Code:Server error log ErrorException: [E_DEPRECATED] Use of "parent" in callables is deprecated src/addons/DigitalPoint/Cloudflare/XF/Pub/View/SpamCleaner/CheckIps.php:40 Generated by: Admin Sep 11, 2024 at 12:43 PM Stack trace #0 [internal function]: XF::handlePhpError(8192, '[E_DEPRECATED] ...', '/home/xf/p...', 40) #1 src/addons/DigitalPoint/Cloudflare/XF/Pub/View/SpamCleaner/CheckIps.php(40): is_callable('parent::renderJ...') #2 src/XF/Mvc/Renderer/AbstractRenderer.php(92): DigitalPoint\Cloudflare\XF\Pub\View\SpamCleaner\CheckIps->renderJson() #3 src/XF/Mvc/Renderer/Json.php(65): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('XF:SpamCleaner\\...', 'public:spam_cle...', Array) #4 src/XF/Mvc/Dispatcher.php(471): XF\Mvc\Renderer\Json->renderView('XF:SpamCleaner\\...', 'public:spam_cle...', Array) #5 src/XF/Mvc/Dispatcher.php(453): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View)) #6 src/XF/Mvc/Dispatcher.php(412): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View)) #7 src/XF/Mvc/Dispatcher.php(66): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json') #8 src/XF/App.php(2826): XF\Mvc\Dispatcher->run() #9 src/XF.php(806): XF\App->run() #10 index.php(23): XF::runApp('XF\\Pub\\App') #11 {main} Request state array(4) { ["url"] => string(31) "/spam-cleaner/member.277/" ["referrer"] => string(52) "https://sub.domain.com/members/member.277/" ["_GET"] => array(0) { } ["_POST"] => array(6) { ["_xfToken"] => string(8) "********" ["check_ips"] => string(1) "1" ["no_redirect"] => string(1) "1" ["_xfResponseType"] => string(4) "json" ["_xfWithData"] => string(1) "1" ["_xfRequestUri"] => string(26) "/members/member.277/" } }
Console
View attachment 310736
if (is_callable('parent::renderJson'))
if (method_exists(get_parent_class($this), 'renderJson'))
Would need the URL that isn't working (not the one that is).Here’s one that I just tried posting.
<img class="newsView-newsThumbnail-header" src="/data/news_thumbnails/0/248.jpg?1726088307" alt="Berlin's Border Controls Spark Migration Debate Amid Far-Right Surge in Germany" title="Berlin's Border Controls Spark Migration Debate Amid Far-Right Surge in Germany">
What’s “news thumbnail”? Is that an addon by chance?
Try disabling it and see if it still happens.
But ya, my guess is they might not be using XenForo’s abstracted file system, and assuming files are in the default location.
Do things work normally with the addon disabled?
How many addons do you have installed? Seems that there is one somewhere that’s changing the behavior of the attachment upload process and not applying the abstracted filesystem URL to thumbnails.They work the same.
How many addons do you have installed? Seems that there is one somewhere that’s changing the behavior of the attachment upload process and not applying the abstracted filesystem URL to thumbnails.
Check ones that do anything to the attachment upload process (the first ones to disable to check anyway).I have a few of andy’s, dragon’s social groups, xen porta, news publisher, blog by xenaddonas. I mean I can disable them one by one and see if that fixes the issue. I’ll do that now.
Check ones that do anything to the attachment upload process (the first ones to disable to check anyway).
9999: access.api.error.not_enabled: Access is not enabled. Visit the Access dashboard at
https://dash.cloudflare.com/ and click the 'Enable Access' button.
If you happen to have developer mode enabled, and you can see the Development menu in the admin area, check Admin -> Development -> Class extensions.I have a few of andy’s, dragon’s social groups, xen porta, news publisher, blog by xenaddonas. I mean I can disable them one by one and see if that fixes the issue. I’ll do that now.
Must be a new thing. But even if you enable it, it shouldn’t necessarily cost anything. It’s free for the first 50 users defined in Access. Maybe you need to enable it in case you go over 50?Installed this plugin for someone else. That person invited me so I have all the needed permissions.
Created the API key and installed the add-on. everything works, accept for "Access":
Code:9999: access.api.error.not_enabled: Access is not enabled. Visit the Access dashboard at https://dash.cloudflare.com/ and click the 'Enable Access' button.
Any idea how I can solve that?
Edit:
Looks like I need to configure Zero Trust first. And for that I need payment info (even though I choose the free tier).
On hold
We use essential cookies to make this site work, and optional cookies to enhance your experience.