Sorry, you are not allowed to edit this post

When attempting to set a featured image for my posts, I upload the image as usual and select it for use. However, no image appears in the featured image section afterward. Additionally, upon pressing the ‘Publish’ button for the post, I am met with an error stating, “Sorry, you are not allowed to edit this post.”

This error is preventing me from completing my tasks efficiently and may impact our content schedule. Could you please investigate this matter and provide a solution at your earliest convenience?

This only happened to me 20 minutes ago, and I tried more than one different browser and the same problem

Also, I can upload images without problems in the media library on WordPress, but when I do this in the dashboard, I cannot upload any images.
“Sorry, you are not allowed to attach files to this post.”

Hey @ajay_newszy

  1. Are you creating a post using MainWP’s Add New Post page (/admin.php?page=PostBulkAdd)?

  2. Does the image get uploaded to the site’s Media Library?

  3. Can you please post the community system report from your MainWP Dashboard for review? The report is located in your Dashboard under Info → Server, on the top right of the page.

Be sure to use the button like the one below; this button hides all your private information:

image

Pressing the button auto-copies the report to your clipboard then just paste it in a reply here.

Are you creating a post using MainWP’s Add New Post page (/admin.php?page=PostBulkAdd)?

Yes

Does the image get uploaded to the site’s Media Library?

The image is not uploading and I cannot find it in the media library But I can upload any files without problems to the media library

Can you please post the community system report from your MainWP Dashboard for review? The report is located in your Dashboard under Info → Server, on the top right of the page.


### WordPress Check                Required                                               Detected                                     Status   ###

FileSystem Method                  = direct                                               direct                                       Pass        
MultiSite Disabled                 =true                                                  true                                         Pass        
WordPress Memory Limit             >=64M                                                  40M                                          Warning     
WordPress Version                  >=6.2                                                  6.4.3                                        Pass        

### PHP                            Required                                               Detected                                     Status   ###

cURL Extension Enabled             =true                                                  true                                         Pass        
cURL Timeout                       >=300 seconds                                          20                                           Warning     
cURL Version                       >=7.29.0                                               7.81.0                                       Pass        
OpenSSL Version                    >=OpenSSL/1.1.0                                        OpenSSL/3.0.2                                Pass        
OpenSSL Working Status             Yes                                                    Yes                                          Pass        
PCRE Backtracking Limit            >=10000                                                1000000                                      Pass        
PHP Allow URL fopen                N/A                                                    YES                                                      
PHP Disabled Functions             N/A                                                    apache_child_terminate, apache_get_modules, apache_get_version, apache_getenv, apache_note, apache_setenv, disk_free_space, disk_total_space, diskfreespace, dl, exec, fastcgi_finish_request, link, opcache_compile_file, opcache_get_configuration, opcache_invalidate, opcache_is_script_cached, opcache_reset, passthru, pclose, pcntl_exec, popen, posix_getpid, posix_getppid, posix_getpwuid, posix_kill, posix_mkfifo, posix_setegid, posix_seteuid, posix_setgid, posix_setpgid, posix_setsid, posix_setuid, posix_uname, proc_close, proc_get_status, proc_nice, proc_open, proc_terminate, realpath_cache_get, shell_exec, show_source, symlink, system,            
PHP Exif Support                   N/A                                                    YES                                                      
PHP IPTC Support                   N/A                                                    YES                                                      
PHP Loaded Extensions              N/A                                                    Core, FFI, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dba, dom, exif, fileinfo, filter, ftp, gd, gettext, gmp, gnupg, hash, iconv, igbinary, imagick, imap, intl, json, ldap, libxml, mbstring, memcache, memcached, msgpack, mysqli, mysqlnd, newrelic, openssl, pcre, pdo_mysql, pdo_sqlite, posix, random, readline, redis, session, shmop, soap, sockets, sodium, sqlite3, ssh2, standard, sysvmsg, sysvsem, sysvshm, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib            
PHP Max Execution Time             >=30 seconds                                           43300                                        Pass        
PHP Max Input Time                 >=30 seconds                                           -1                                           Pass        
PHP Memory Limit                   >=256M                                                 512M                                         Pass        
PHP Post Max Size                  >=2M                                                   256M                                         Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Upload Max Filesize            >=2M                                                   256M                                         Pass        
PHP Version                        >=7.4                                                  8.2.14                                       Pass        
PHP XML Support                    N/A                                                    YES                                                      
SSL Extension Enabled              =true                                                  true                                         Pass        
SSL Warnings                       = empty                                                error:12000079:random number generator::Cannot open file
error:12000079:random number generator::Cannot open fileWarning     

### MySQL                          Required                                               Detected                                     Status   ###

MySQL Client Encoding              N/A                                                    utf8mb4                                                  
MySQL Mode                         N/A                                                    ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION            
MySQL Version                      >=5.0                                                  8.0.35-27                                    Pass        

### Server Configuration           Detected Value                                      ###

Accept Content                     text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Accept-Charset Content             N/A                                                    
Architecture                       64		 bit                                               
Gateway Interface                  CGI/1.1                                                
HTTPS                              ON                                                     
Memory Usage                       28.58 MB                                               
Operating System                   Linux                                                  
Request Time                       1710926884                                             
Server Protocol                    HTTP/1.0                                               
Server self connect                Response Test O.K.                                     
Server Software                    nginx                                                  
User Agent                         Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36

### MainWP Dashboard Settings      Detected Value                                      ###

Abandoned plugins/themes tolerance                                                        
Basic uptime monitoring enabled    Yes                                                    
MainWP Dashboard Version           Latest: 5.0.2 | Detected: 5.0.2 Pass                   
MainWP legacy backups enabled      No                                                     
Maximum number of comments                                                                
Maximum number of pages to return  80                                                     
Maximum number of posts to return  400                                                    
Maximum simultaneous install and update requests                                                       
Maximum simultaneous requests      4                                                      
Maximum simultaneous requests per ip1                                                      
Maximum simultaneous sync requests                                                        
Minimum delay between requests     200                                                    
Minimum delay between requests to the same ip1000                                                   
Number of connected sites          885                                                    
Optimize data loading              No                                                     
Plugin advanced automatic updates enabledNo                                                     
Primary backup system              MainWP Legacy Backups                                  
REST API enabled                   Yes                                                    
Site health monitoring enabled     No                                                     
Theme advanced automatic updates enabledNo                                                     
Use WP Cron                        No                                                     
WP Core advanced automatic updates enabledYes                                                    

### Extensions                     Version                                                License                                      Status   ###

MainWP Bulk Settings Manager Extension5.0                                                    Active                                       Pass        
MainWP Comments Extension          4.0.8                                                  Active                                       Pass        
MainWP Custom Dashboard Extension  4.1.2                                                  Active                                       Pass        
MainWP Database Updater Extension  4.0.4                                                  Active                                       Pass        
MainWP Maintenance Extension       4.1.2                                                  Active                                       Pass        
MainWP Rocket Extension            4.0.5                                                  Active                                       Pass        
MainWP SSL Monitor Extension       4.0.5                                                  Active                                       Pass        
MainWP URL Extractor Extension     4.0.4                                                  Active                                       Pass        

### Plugin                         Version                                                Status                                    ###

Classic Editor                     1.6.3                                                  Active                                       
Classic Widgets                    0.3                                                    Active                                       
hCaptcha for WordPress             3.10.1                                                 Active                                       
MainWP Dashboard                   5.0.2                                                  Active                                       
MainWP Key Maker                   1.2                                                    Active                                       
WPForms Lite                       1.8.7.2                                                Active                                       

Also, there is something strange: sometimes the dashboard works without problems, and I can upload pictures and post new posts, but sometimes it stops , I cannot publish articles or upload pictures
I spoke with technical support in the hosting provider and they told me that everything is fine in terms of hosting as long as I can upload images and files to the media library and that I should talk to you.

Thanks for the additional information.

Nothing in the system report stands out as an obvious issue.

If the issue is intermittent, then it is likely not related specifically to MainWP.

However, we will gladly take a closer look.
Please open a private help desk ticket here: https://mainwp.com/my-account/get-support/

And refer to this Managers thread by its URL in the ticket.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.