Can't post this link in BuddyPress Activity

Trying to paste this link but it is telling me an error has occurred…

Is there a size limit? I can post other PDFs.


  • Kasia Swiderska

    Hello Marla,

    It looks like this is related to the size of the file - I was able to replicate this issue on my site with fatal error Maximum execution time of 30 seconds exceeded. Could you enable debug log and try again to upload this file?
    This will show us exact error on your site.
    To enable it, open your wp-config.php file and look for define(‘WP_DEBUG’, false);. Change it to:

    define('WP_DEBUG', true);

    In order to enable the error logging to a file on the server you need to add yet one more similar line:

    define( 'WP_DEBUG_LOG', true );

    In this case the errors will be saved to a debug.log log file inside the /wp-content/directory.

    Depending on whether you want your errors to be only logged or also displayed on the screen you should also have this line there, immediately after the line mentioned above:

    define( 'WP_DEBUG_DISPLAY', false );

    The wp-config.php is located in your WordPress root directory. It’s the same file where the database configuration settings are. You will have to access it by FTP or SFTP in order to edit it. I would need then to see contents of the debug.log file - so please paste it to the text file and attach to post.

    Please note that you cant attach to post debug.log file - it has to be txt file or you can upload it to the service like dropbox or google drive and paste here a link.

    kind regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.