Not able to access WP Admin, it says “Sorry, you are not allowed to access this page.”

All of a sudden we are not able to get to the admin panel of the website. Once I log into /wp-login.php it redirects me to the homepage or /wp-admin (depending on whether I visited wp-admin in logged out state or not)

WordPress version: 5.6.2

When it does redirect to /wp-admin I see:

"Sorry, you are not allowed to access this page."

My first guess was that someone (maybe another user with administrator access) changed the roles. That wasn’t the case, I confirmed by looking at the database tables and the users had the wp_capabilities that corresponded to being an admin.

Then I tried a bunch of other stuffs and none worked:

  1. Created a new user using wp_create_user, added administrator capabilities, logged into that account from a private browsing window. Same.

  2. Went to the WordPress git repo searched for where "Sorry, you are not allowed to access this page." appeared, it did at many places so I added random string of text in some files to see exactly which one, it came from the file wp-admin/includes/menu.php in the last lines:

    if ( ! user_can_access_admin_page() ) {

  3. I thought maybe user_can_access_admin_page() returned wrong information for some reason, so I used a page template to output some data like so

if ( current_user_can('administrator') ) {     echo "Yes, admin"; }  if ( user_can_access_admin_page() ) {     echo "Can access admin"; } else {     echo "Can't access admin"; } 

Both returned true, yet the check on menu.php fails. Not sure why.

  1. Replaced wp-admin and wp-includes folder with fresh copies downloaded from WordPress org.

  2. Renamed the theme and plugin folders to rule out the problem coming from a plugin or theme. Not the case, it still was the same.

  3. Checked the error log of Apache2 as well as enabled debugging log for WP to look for any related error, none found. Nothing special, all the usual PHP notices that I have seen before.

  4. At one point I noticed the SSL certificate expired a month ago (problem started yesterday though) so just to be sure I renewed that as well, still the same.

Anybody who have an idea on what might be wrong would be a great help!

Would the Gust spell be able to move someone under the effect of the Levitate spell?

I am playing an air genasi storm sorcerer. Air genasi have the Mingle with the Wind racial trait, which lets them cast the levitate spell once per long rest (with no material components).

The description of the levitate spell says:

One creature or object of your choice that you can see within range rises vertically, up to 20 feet, and remains suspended there for the duration. The spell can levitate a target that weighs up to 500 pounds. An unwilling creature that succeeds on a Constitution saving throw is unaffected.

The target can move only by pushing or pulling against a fixed object or surface within reach (such as a wall or a ceiling), which allows it to move as if it were climbing. You can change the target’s altitude by up to 20 feet in either direction on your turn. If you are the target, you can move up or down as part of your move. Otherwise, you can use your action to move the target, which must remain within the spell’s range.

The description of gust states:

You seize the air and compel it to create one of the following effects at a point you can see within range:

  • One Medium or smaller creature that you choose must succeed on a Strength saving throw or be pushed up to 5 feet away from you.

  • You create a small blast of air capable of moving one object that is neither held nor carried and that weighs no more than 5 pounds. The object is pushed up to 10 feet away from you. It isn’t pushed with enough force to cause damage.

  • You create a harmless sensory affect using air, such as causing leaves to rustle, wind to slam shutters shut, or your clothing to ripple in a breeze.

I wanted to use the gust cantrip to move myself 5 feet in a direction, but my GM said it wouldn’t work, as levitate only allows the target to move by physical means as the spell states, and I couldn’t cast gust to target myself anyways.

I didn’t argue at the time, but having reread the spells, I’m not sure why it wouldn’t work.

Is it possible to cast levitate on yourself, then use gust to move yourself 5 feet?

Not able to open category post

my website home page working perfectly fine all links are clickable and opening, but when I open any menu or category page I’m not able to click and open the post. However, If I right-click and open the post in a new tab or window, it is opening perfectly fine. If I open customize preview mode then also all links are working fine. Does anyone know what is the issue here and how can I fix it?

The page I need help with: https://cominggames.com/category/best-and-worst/

Creating a character able to climb while in combat to attack from above

I have played D&D for 8 years now but I’m not that good with character building, so I thought this would be the place to be!

I know that our next adventure will involve a citadel as the main stage of the story. What I would like to make is a character who can climb on walls/ledges, etc. in small alleys or just on the main street walls. My vision is to sneak attack from up high with a bow, or leap down onto the enemy with daggers.

I think it should be some kind of assassin with a bow and good climbing skills. I don’t even know if this is possible or even worth playing.

My group use the all 3.5 books, and the campaign should play from level 1 to about 16–18.

Is a tiny creature with the feat Blades Above And Below able to flank?

I have an idea for a Fighter Eldritch Guardian (F-EG) archetype and, for fluff, I want to have an Azata Lyrakien (a tiny outsider) as a familiar (by the improve familiar feat).

At level 2, the F-EG gains the ability to share combat feats with his familiar due to Share Training.

The feat Blades Above And Below (combat and teamwork feat) allows to flank an enemy as long as you are in melee and threaten it no matter their position. But tiny creatures can’t flank. Now, as far as I know, if the tiny familiar is in the enemy’s square, it threatens it. The rules does not say that the creature has to have the ability to flank the creature, just that it has to threaten it to flank it. Am I missing something or is this an opportunity for my familiar?

Share Training: … it can use any combat feat possessed by the eldritch guardian…

Blades Above And Below: When you and your ally who also has this feat threaten the same enemy, you’re both considered to be flanking that enemy, regardless of your actual positioning.

I’m only interested in PF Society legal related answers.

What’s the cheapest way for an Eldritch Knight to be able to wield two weapons while still being able to cast spells with somatic/material components?

For the purpose of this question, assume "two weapons" to include "a one-handed weapon and a shield".

Compared to other spellcasters, Eldritch Knights are sort of at a disadvantage when it comes to achieving dual-wielding and the like, as they generally cannot use spellcasting foci (except when using magic items such as a Ruby of the War Mage). Thus, they normally seem to require a free hand for casting spells with components other than verbal ones. For comparison, a wizard could wield a Staff of Power, which – due to being a staff – counts as an arcane focus and thus solves the issue of noncostly material components, but it can also be used as a +2 quarterstaff.

For an EK trying to trivialize somatic components, Warcaster is the obvious choice (no difference to other spellcasters in this regard), and the requirement of a free hand for material components (without a GP cost) can be avoided with a Ruby of the War Mage. However, the former requires spending a feat (even though Warcaster is a pretty good feat for EKs anyway, especially considering that fighters get more ASIs than the average class), and the latter blocks an attunement slot and doesn’t work for costly material components. Plus, if you happen to die in a battle, your attunements end, even if you get Revivified right away (although that’s probably a very rare or even legendary problem ^^).

Is there a cheaper way to get around the issue? For the purpose of defining "expensive", please consider this order (the higher up on the list, the more expensive):

  1. Multiclassing (and requiring three multiclass levels is obviously worse than requiring one)
  2. Requiring additional actions
  3. Feats
  4. Attunement Slots
  5. Requiring additional bonus actions
  6. Choosing specific (sub-)class options, such as a Fighting Style.
  7. Magic Items without attunement
  8. Ingame time (e.g. downtime training)
  9. Requiring your object interaction
  10. Money

I’m aware of other questions on almost the same topic, namely this one (warlock-focused or at best generic), this one (technically answers the issue, but some GMs might consider dropping and picking your weapon up cheesy, plus there are downsides and it only works with Sage Advice rulings), as well as this one (answers claim it’s not an issue, which is not true IMHO – for example, Booming Blade or Green Flame Blade, both great melee cantrips for an EK, have material components).

Not able to scrape any working proxies from SB built in sources

Am I suppose to use a proxy when scraping proxies, all of them failed

https://www.youtube.com/watch?v=sbO0FnxW…cedSEOClub 

This is method I used. Nothing else And this is fresh install of Scrapebox

I went ahead an checked if my ip is blacklisted anywhere I don’t think it is.

Is there a way I can export these results to have you take a look?

Is Strahd able to know PC backstories without having to investigate them?

I have a group that just started Curse of Strahd. They’re one session in. I have a character that couldn’t make it first session, and I’m in the process of “writing him in” so he’s with the party for the second. He’s part of the writing-in process… we go back and forth with some emails with some RP decisions on his part, but I am pretty strongly guiding him to where the others are.

Anyway, quick backstory, his sister was captured by a cultist long ago, he tracked them down to some location in the woods — enter the creeping fog hook — he gets lost in the fog and pops out in Barovia. In a truly “against all odds” moment that only happens in movies, he stepped on a locket in the dirt that belonged to his sister. And he stands, emboldened, knowing the cultist and his sister are also trapped here in this mystical valley.

Enter my dilemma. I am fully willing to have it so that the cultist and his sister are truly here in Barovia somewhere. But, I am also considering making it so that this locket… and for that matter any other evidence he finds regarding their whereabouts here in Barovia up to and including the cultist and his sister… is an illusion. Or more accurately, a manifestation of his emotions/desires.

I’ve never run Strahd before, so I’m still working out the feel for the campaign and exactly how much power Strahd has in this demi-plane of his. There are places in the book where it says creepy stuff like “the character sees herself hanging from the gallows and when she touches it it turns to dust”. So there’s an element of your own self projecting the horror. Also Strahd has god-like abilities… hearing prayers not directed to him, showing up in some assassin mirror….

Does Strahd inherently know of this character’s past/desires (read: can I metagame the crap out of this)? Or does Strahd need to come by that information honestly?

Purging SP getting deadlocked with App…Not able to completed understand Deadlock Graph

We have a stored procedure which purges old data. On regular basis, it is getting deadlocked with application stored procedure. Below is the deadlock graph:

Deadlock Graph

Deadlock XML:

<deadlock>   <victim-list>    <victimProcess id="process1a780008c8"/>   </victim-list>   <process-list>    <process id="process1a780008c8" taskpriority="0" logused="1604" waitresource="KEY: 8:72065847945068544 (862c7d05dafc)" waittime="1477" ownerId="4649107786" transactionname="batch_archive" lasttranstarted="2020-12-18T22:05:16.377" XDES="0x27495e1c40" lockMode="U" schedulerid="6" kpid="7560" status="suspended" spid="1049" sbid="0" ecid="4" priority="0" trancount="0" lastbatchstarted="2020-12-18T22:05:01.070" lastbatchcompleted="2020-12-18T22:05:01.070" lastattention="1900-01-01T00:00:00.070" clientapp="SQLAgent - TSQL JobStep (Job 0xAC6E654BCA73184DA4769BFB133908A1 : Step 2)" hostname="SERVER_NAME" hostpid="4024" isolationlevel="read committed (2)" xactid="4649107786" currentdb="6" currentdbname="DB_NAME" lockTimeout="4294967295" clientoption1="673316896" clientoption2="128056">     <executionStack>      <frame procname="DB_NAME.dbo.PURGE_SP_NAME" line="674" stmtstart="45158" stmtend="45440" sqlhandle="0x03000600119b6e78797169003dab000001000000000000000000000000000000000000000000000000000000">  delete from DBNAME..TABLE_NAME with(rowlock) where email_id in      (select email_id from ARCHIVAL_BATCH    </frame>      <frame procname="adhoc" line="6" stmtstart="166" stmtend="566" sqlhandle="0x010006002208560560621cea2000000000000000000000000000000000000000000000000000000000000000">  EXEC @return_value = [dbo].[PURGE_SP_NAME]    @arch_mon_crit = 93,    @batch_size = 3,    @po_sql_code = @po_sql_code OUTPUT,    @po_sql_msg = @po_sql_msg OUTPU    </frame>     </executionStack>     <inputbuf>    DECLARE @return_value int,    @po_sql_code int,    @po_sql_msg nvarchar(2000)    EXEC @return_value = [dbo].[PURGE_SP_NAME]    @arch_mon_crit = 93,    @batch_size = 3,    @po_sql_code = @po_sql_code OUTPUT,    @po_sql_msg = @po_sql_msg OUTPUT    SELECT @po_sql_code as N&apos;@po_sql_code&apos;,    @po_sql_msg as N&apos;@po_sql_msg&apos;    SELECT &apos;Return Value&apos; = @return_value       </inputbuf>    </process>    <process id="process1a93ff7c28" taskpriority="0" logused="10000" waittime="1457" schedulerid="1" kpid="5312" status="suspended" spid="1049" sbid="0" ecid="0" priority="0" trancount="2" lastbatchstarted="2020-12-18T22:05:01.070" lastbatchcompleted="2020-12-18T22:05:01.070" lastattention="1900-01-01T00:00:00.070" clientapp="SQLAgent - TSQL JobStep (Job 0xAC6E654BCA73184DA4769BFB133908A1 : Step 2)" hostname="SERVER_NAME" hostpid="4024" loginname="DOMAIN\SQL_SRVC_ACCOUNT" isolationlevel="read committed (2)" xactid="4649107786" currentdb="6" currentdbname="DB_NAME" lockTimeout="4294967295" clientoption1="673316896" clientoption2="128056">     <executionStack>      <frame procname="DB_NAME.dbo.PURGE_SP_NAME" line="674" stmtstart="45158" stmtend="45440" sqlhandle="0x03000600119b6e78797169003dab000001000000000000000000000000000000000000000000000000000000">  delete from DBNAME..TABLE_NAME with(rowlock) where email_id in      (select email_id from ARCHIVAL_BATCH    </frame>      <frame procname="adhoc" line="6" stmtstart="166" stmtend="566" sqlhandle="0x010006002208560560621cea2000000000000000000000000000000000000000000000000000000000000000">  EXEC @return_value = [dbo].[PURGE_SP_NAME]    @arch_mon_crit = 93,    @batch_size = 3,    @po_sql_code = @po_sql_code OUTPUT,    @po_sql_msg = @po_sql_msg OUTPU    </frame>     </executionStack>     <inputbuf>    DECLARE @return_value int,    @po_sql_code int,    @po_sql_msg nvarchar(2000)    EXEC @return_value = [dbo].[PURGE_SP_NAME]    @arch_mon_crit = 93,    @batch_size = 3,    @po_sql_code = @po_sql_code OUTPUT,    @po_sql_msg = @po_sql_msg OUTPUT    SELECT @po_sql_code as N&apos;@po_sql_code&apos;,    @po_sql_msg as N&apos;@po_sql_msg&apos;    SELECT &apos;Return Value&apos; = @return_value       </inputbuf>    </process>    <process id="process1a78191468" taskpriority="0" logused="21516" waitresource="OBJECT: 8:1761441349:4 " waittime="3632" ownerId="4649111643" transactionname="user_transaction" lasttranstarted="2020-12-18T22:05:19.960" XDES="0x208e1d4400" lockMode="IX" schedulerid="5" kpid="7936" status="suspended" spid="332" sbid="0" ecid="0" priority="0" trancount="2" lastbatchstarted="2020-12-18T22:05:19.963" lastbatchcompleted="2020-12-18T22:05:19.547" lastattention="1900-01-01T00:00:00.547" clientapp="rx-process_jpid[8344]" hostname="APP_SERVER_NAME" hostpid="0" loginname="DOMAIN\SQL_SRVC_ACCOUNT" isolationlevel="read committed (2)" xactid="4649111643" currentdb="8" currentdbname="DBNAME" lockTimeout="4294967295" clientoption1="673185824" clientoption2="128056">     <executionStack>      <frame procname="DBNAME.dbo.APP_SERVER_NAME1" line="99" stmtstart="3616" stmtend="3868" sqlhandle="0x0300080011c5170b94ab5e01b0a8000001000000000000000000000000000000000000000000000000000000">  INSERT INTO TABLE_NAME_alt ( email_id ,activity_id ,text_content ) VALUES ( @p_email_id ,@p_activity_id ,@p_text_content    </frame>      <frame procname="DBNAME.dbo.APP_SERVER_NAME" line="301" stmtstart="14314" stmtend="15014" sqlhandle="0x0300080012f6881b97ab5e01b0a8000001000000000000000000000000000000000000000000000000000000">  EXEC @v_ret_value = APP_SERVER_NAME1 @p_email_id , @p_activity_id , @p_alias_id , @p_subject , @p_email_date , @p_email_size , @p_num_attachments , @p_charset , @p_message_id , @p_from_email_address , @p_recv_email_address , @p_delete_flag , @p_header , @p_content , @p_content_type , @p_text_content , @v_sql_code OUTPUT , @v_sql_message OUTPU    </frame>      <frame procname="adhoc" line="1" stmtstart="1204" stmtend="1900" sqlhandle="0x0100080051e7691ef0b8d2062300000000000000000000000000000000000000000000000000000000000000">  EXEC @P0 = APP_SP_NAME   @P1  ,  @P2  ,  @P3  ,  @P4  ,  @P5  ,  @P6  ,  @P7  ,  @P8  ,  @P9  ,  @P10  ,  @P11  , &apos;n&apos; , @P12  ,  @P13  ,  @P14  ,  @P15  ,  @P16  ,  @P17  ,  @P18  ,  @P19  ,  @P20 OUT  ,  @P21  ,  @P22  ,  @P23  ,  @P24  ,  @P25  ,  @P26  ,  @P27  ,  @P28  ,  @P29  ,  @P30  ,  @P31  ,  @P32  ,  @P33 OUT  ,  @P34 OU    </frame>      <frame procname="unknown" line="1" sqlhandle="0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000">  unknown    </frame>     </executionStack>     <inputbuf>  (@P0 decimal(38,4) OUTPUT,@P1 bigint,@P2 bigint,@P3 nvarchar(4000),@P4 datetime2,@P5 int,@P6 int,@P7 nvarchar(4000),@P8 nvarchar(4000),@P9 nvarchar(4000),@P10 nvarchar(4000),@P11 nvarchar(4000),@P12 nvarchar(4000),@P13 nvarchar(max),@P14 nvarchar(4000),@P15 nvarchar(4000),@P16 nvarchar(4000),@P17 nvarchar(4000),@P18 nvarchar(4000),@P19 nvarchar(4000),@P20 decimal(38,4) OUTPUT,@P21 int,@P22 int,@P23 bigint,@P24 bigint,@P25 nvarchar(4000),@P26 bigint,@P27 datetime2,@P28 int,@P29 nvarchar(4000),@P30 nvarchar(4000),@P31 nvarchar(4000),@P32 bigint,@P33 decimal(38,4) OUTPUT,@P34 nvarchar(4000) OUTPUT)EXEC @P0 = APP_SP_NAME   @P1  ,  @P2  ,  @P3  ,  @P4  ,  @P5  ,  @P6  ,  @P7  ,  @P8  ,  @P9  ,  @P10  ,  @P11  , &apos;n&apos; , @P12  ,  @P13  ,  @P14  ,  @P15  ,  @P16  ,  @P17  ,  @P18  ,  @P19  ,  @P20 OUT  ,  @P21  ,  @P22  ,  @P23  ,  @P24  ,  @P25  ,  @P26  ,  @P27  ,  @P28  ,  @P29  ,  @P30  ,  @P31  ,  @P32  ,  @P33 OUT  ,  @P34 OUT                                                                           </inputbuf>    </process>   </process-list>   <resource-list>    <keylock hobtid="72065847945068544" dbid="8" objectname="DBNAME.dbo.TABLE_NAME" indexname="TABLE_NAME_IDX" id="lock271c759a00" mode="X" associatedObjectId="72065847945068544">     <owner-list>      <owner id="process1a78191468" mode="X"/>     </owner-list>     <waiter-list>      <waiter id="process1a780008c8" mode="U" requestType="wait"/>     </waiter-list>    </keylock>    <exchangeEvent id="Pipe1d4b680400" WaitType="e_waitPipeGetRow" waiterType="Coordinator" nodeId="12" tid="0" ownerActivity="sentData" waiterActivity="needMoreData" merging="false" spilling="false" waitingToClose="false">     <owner-list>      <owner id="process1a780008c8"/>     </owner-list>     <waiter-list>      <waiter id="process1a93ff7c28"/>     </waiter-list>    </exchangeEvent>    <objectlock lockPartition="4" objid="1761441349" subresource="FULL" dbid="8" objectname="DBNAME.dbo.TABLE_NAME_ALT" id="lock23febd7300" mode="X" associatedObjectId="1761441349">     <owner-list>      <owner id="process1a93ff7c28" mode="X"/>     </owner-list>     <waiter-list>      <waiter id="process1a78191468" mode="IX" requestType="wait"/>     </waiter-list>    </objectlock>   </resource-list>  </deadlock>  

I have just started troubleshooting to fix deadlock. I am not able to get few things in above deadlock graph:

  1. Our Purging SP is a single SP which runs as one transaction, then why we are seeing two processes for it.
  2. What is exchange event? From where it came?
  3. At what level locks are being taken? Row, Page or table?
  4. How to proceed further?

Any help would be appreciated.

NOTE: 1. We are deleting less records batch wise in purging SP.
2. I have removed the actual SP and table Names with Aliases.