Title: Page don&#8217;t load after insert shortcode
Last modified: September 3, 2018

---

# Page don’t load after insert shortcode

 *  Resolved [erihenrique](https://wordpress.org/support/users/erihenrique/)
 * (@erihenrique)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/page-dont-load-after-insert-shortcode/)
 * Hi!
 * When using any shortcode [mdocs] in a page, it doesn’t load the content of the
   page.
    When I start to upload the files, it shows the content, but now that I
   upload about 1500 pdf files, the page doesn’t load the content anymore. I use
   Apache/2.4.6 (CentOS) PHP/7.2.8, MySQL 5.5.31, Theme Avada 5.6.2.
 * thanks

Viewing 14 replies - 1 through 14 (of 14 total)

 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/page-dont-load-after-insert-shortcode/#post-10655415)
 * can you tell me what you have set your php “max_input_vars” to. With 1500 files
   you may be running into variable issues.
 *  Thread Starter [erihenrique](https://wordpress.org/support/users/erihenrique/)
 * (@erihenrique)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/page-dont-load-after-insert-shortcode/#post-10655703)
 * PHP Memory Limit: 1 GB
    PHP Time Limit: 300 PHP Max Input Vars: 4000
 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/page-dont-load-after-insert-shortcode/#post-10655707)
 * try increasing time limit for testing to 3000 see what happens.
 *  Thread Starter [erihenrique](https://wordpress.org/support/users/erihenrique/)
 * (@erihenrique)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/page-dont-load-after-insert-shortcode/#post-10655732)
 * I increase to 3000 and still not works
 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/page-dont-load-after-insert-shortcode/#post-10655789)
 * okay put that back to 300, check you apache errors logs for details on the error.
 *  Thread Starter [erihenrique](https://wordpress.org/support/users/erihenrique/)
 * (@erihenrique)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/page-dont-load-after-insert-shortcode/#post-10656186)
 * This is the error related to the page that have the shortcode
 * Line 1551: [Tue Sep 04 10:54:29.671310 2018] [php7:error] [pid 19230] [client
   10.61.xx.xx:xxxxx] PHP Fatal error: Allowed memory size of 104857600 bytes exhausted(
   tried to allocate 12450136 bytes) in /var/www/html/wp-includes/wp-db.php on line
   1889, referer: [http://www.intranet2.dp.xxxxxxxxxxx.sp.gov.br/teste/](http://www.intranet2.dp.xxxxxxxxxxx.sp.gov.br/teste/)
 * Line 1431: [Tue Sep 04 08:08:25.697907 2018] [php7:error] [pid 55260] [client
   10.61.xx.xx:xxxxx] PHP Fatal error: Allowed memory size of 104857600 bytes exhausted(
   tried to allocate 12450136 bytes) in /var/www/html/wp-includes/wp-db.php on line
   1889, referer: [http://www.intranet2.dp.xxxxxxxxxx.sp.gov.br/teste/?mdocs-cat=mdocs-cat-1&mdocs-att=null](http://www.intranet2.dp.xxxxxxxxxx.sp.gov.br/teste/?mdocs-cat=mdocs-cat-1&mdocs-att=null)
 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/page-dont-load-after-insert-shortcode/#post-10656232)
 * you are running out of memory
 * PHP Memory Limit: 1 GB
 * Allowed memory size of 104857600 bytes exhausted (tried to allocate 12450136 
   bytes)
 *  Thread Starter [erihenrique](https://wordpress.org/support/users/erihenrique/)
 * (@erihenrique)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/page-dont-load-after-insert-shortcode/#post-10656245)
 * Yes, you’re right.
    I allocate 3 GB of memory but not work, sometimes it loads
   the content, sometimes not. There is a solution?
    -  This reply was modified 7 years, 9 months ago by [erihenrique](https://wordpress.org/support/users/erihenrique/).
 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/page-dont-load-after-insert-shortcode/#post-10656284)
 * I would suggest breaking the files up into different folders. 1500 files in one
   directory maybe asking to much of the server.
 *  Thread Starter [erihenrique](https://wordpress.org/support/users/erihenrique/)
 * (@erihenrique)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/page-dont-load-after-insert-shortcode/#post-10656347)
 * They are in different folders.
    I exclude some files that I really don’t need
   and now I have 1093 files in 13 different folders
 * Boletim (root folder)
    – Bol G 2018 (sub folder) – Bol G 2017 (sub folder) … –
   Bol G 2006 (sub folder)
 * only the subfolders with files
 * all files:
    File Status: Private Post Status: Published
 * every single file has 1 – 4 different Contributor defined to control the access
    -  This reply was modified 7 years, 9 months ago by [erihenrique](https://wordpress.org/support/users/erihenrique/).
 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/page-dont-load-after-insert-shortcode/#post-10656480)
 * hmm.. can you try to disable all other plugins and change to a default WordPress
   theme.
 * See if it works.
 * Your database is causing the memory issues, not sure what is causing the memory
   spike but it could be the amount of files in mDocs, I know of many people that
   have more the 1500 files that have no issues.
 *  Thread Starter [erihenrique](https://wordpress.org/support/users/erihenrique/)
 * (@erihenrique)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/page-dont-load-after-insert-shortcode/#post-10656752)
 * I’ll try to do this, as soon as possible.
    I have many accesses and services 
   on the site and I can’t stop it now.
 * Thanks
 *  Thread Starter [erihenrique](https://wordpress.org/support/users/erihenrique/)
 * (@erihenrique)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/page-dont-load-after-insert-shortcode/#post-10730956)
 * Hi [@bhaldie](https://wordpress.org/support/users/bhaldie/)!
 * Following your orientation I disabled all plugins and found the problem. It was
   an incompatibility with another plugin that provides a timeline.
    As your plugin
   is more important and useful for the site, I removed the timeline. Thank you 
   very much for your support and I will make a donation.
 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/page-dont-load-after-insert-shortcode/#post-10732858)
 * Glad you got it figured out, and thank you for the donation 🙂

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Page don’t load after insert shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/memphis-documents-library_91918f.
   svg)
 * [Memphis Documents Library](https://wordpress.org/plugins/memphis-documents-library/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/memphis-documents-library/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/memphis-documents-library/)
 * [Active Topics](https://wordpress.org/support/plugin/memphis-documents-library/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/memphis-documents-library/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/memphis-documents-library/reviews/)

 * 14 replies
 * 2 participants
 * Last reply from: [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/page-dont-load-after-insert-shortcode/#post-10732858)
 * Status: resolved