I just started having this problem on 14.0.0-RC2. When I click on delete for any post under admin or regular user, I get the spinning dot wheel. If I refresh the page, the post is gone. I have cron working every minute. Yesterday, I restarted NGINX and the problem went away. But it is back now. The post should just clear right away.
Comments
Hello @CoolUser376 !
This situation means that your UNA has the JS errors on the page during the running of the AJAX queries. It is possible to detect via the Browser Developer Tools (the F12 button in the Chrome browser)->Console tab. If the restart could help then I may suggest you use the PHP 8.3 and it is better to switch it on PHP 8.1 or 8.3.
C
Okay. I will look into it more when I get home from work.
C
I upgraded to PHP 8.3.8, restarted server services, and cleared cache. I still have the spinning progress problem when deleting a post. This is the last major problem to solve before starting beta testing with the members of my current social network. I have to fix this before that can start. I am trying to look in Developer Tools to track down the issue.
C
I have tracked down some error information. I'm not sure how to fix it. I am going to wait to see how you interpret this.
When I make a test post while Developer Tools is open, I get the following error in Debugger: TypeError: $this.Flickity is not a function.
oDivider.show();oContent.hide();var oItem=bDivider?oDivider.after(oContent).next('.'+$this.sClassItem+':hidden'):oContent.prependTo(oItems);oItem.bx_anim('show',$this._sAnimationEffect,$this._iAnimationSpeed,function(){$(this).find('.bx-tl-item-text .bx-tl-content').bxCheckOverflowHeight($this.sSP+'-overflow',function(oElement){$this.onFindOverflow(oElement)});$this.initFlickity($this.oView);$this.Flickity('resize')});if($this._sVideosAutoplay!='off')
When I go to delete the post, I get the following Console errors (stars added by me instead of ID numbers/letters string): Source Map Error: NetworkError when attempting to fetch resource. Content limit: 612032839.68 --> moz-extension://********-****-****-****-************/content_script.js.
const content_limit_getSlice = (store) => { const updateContentLimit = async () => { const contentLimit = await get_content_limit(); console.log(`Content limit: ${contentLimit}`); store.dispatch(content_limit_actions.setContentLimit(contentLimit)); setTimeout(updateContentLimit, 10000); }; setTimeout(updateContentLimit, 500); return {}; };
Hopefully, someone knows how to fix this. Maybe the timeout limits are wrong? This problem is occurring in both Firefox and Microsoft Edge.
C
I just figured out how to fix this after lots of error code viewing in Developer Tools. I went into General Settings and turned on Treat context posted in context as content & Asynchronous forms preload in "Create Post" block.
C
Update: As it turns out, this was not the solution. The never-ending spinner when deleting only occurs if you try to delete the post before it has been live for 60 seconds. The cron job runs once per minute. If you attempt to delete the post too early and check the Developer Tools error codes, there is a timeout/sync issue. I thought the time posted bit on the post was supposed to change by itself from "A few seconds ago" to "One minute ago", but it doesn't. I'm not sure if that can be changed.