Error: SoftException in Application(dot)cpp:303 UID of script is small than min_uid

Errors & Troubleshooting | Updated 2026

The "SoftException in Application.cpp: UID of script is smaller than min_uid" error means a PHP or CGI script is owned by the wrong user. On shared hosting, scripts must be owned by your cPanel user account to execute.

01. What Causes This

  • Files uploaded or created by root - If server-side scripts or admin processes created files, they may be owned by root
  • Restored from a backup made on a different account or server
  • Extracted from an archive that preserved the original ownership
  • Manual server-side file operations by a previous administrator

02. How to Fix

Via SSH:

chown -R $USER:$USER ~/public_html

Also fix permissions while you are at it:

find ~/public_html -type d -exec chmod 755 {} \;
find ~/public_html -type f -exec chmod 644 {} \;

If you do not have SSH access, open a ticket and we will fix the ownership.

Important

Do not set files to 777 to try to work around this error. The issue is ownership, not permissions. Setting 777 creates a security vulnerability without fixing the actual problem.

Need Ownership Fixed?

Open a ticket and we will correct file ownership across your account.

Open a Support Ticket

Quick Recap

  1. Error means wrong file ownership - Files owned by root or another user
  2. Fix with chown - chown -R $USER:$USER ~/public_html
  3. Set permissions - 755 for directories, 644 for files
  4. Do not use 777 - It does not fix ownership issues
  5. Contact support if you do not have SSH access

Server error troubleshooting · Last updated March 2026 · Browse all Error articles

  • 173 Users Found This Useful

Was this answer helpful?

Related Articles

403 Forbidden Error

Errors & Troubleshooting | Updated March 2026 A 403 Forbidden error means the server...

Error 406 unacceptable

Errors & Troubleshooting | Updated 2026 A 406 "Not Acceptable" error means the server...

There Has Been a Critical Error on This Website

Errors & Troubleshooting | Updated March 2026 "There has been a critical error on this...

Error Log Produces Flood of Missing Modules

Errors & Troubleshooting | Updated March 2026 If an account's error_log file is growing...



Save 30% on web hosting - Use coupon code Hosting30