How To Fix “The Link You Followed Has Expired” Error in WordPress
When you are trying to upload a WordPress theme or a plugin to your website from the WordPress admin area, this error usually occurs due to the file upload size, PHP memory, and execution time limits.
You can edit the php.ini file and add the following code inside it.
or else go to cPanel > PHP Selector > Options
and change the max_execution_time to 300 (or up), upload_max_filesize to 32MB (or up), post_max_size to 32MB (or up)