mnelson4 / printmyblog

WordPress Plugin that simplifies printing your entire blog
GNU General Public License v3.0
16 stars 6 forks source link

There was an error preparing your content. #298

Closed mmcgreer closed 2 years ago

mmcgreer commented 2 years ago

Please describe what you were doing, what you expected to happen, and what the problem was.

{"php":"7.4.27","wp":"5.9","site_url":"https://nevada-today.com","home_url":"https://nevada-today.com","language":"en_US","public":"1","environment_type":"production","plugins_active":{"Advanced Cron Manager":"2.4.2 by BracketSpace ","Ajax Search Lite":"4.9.5 by Ernest Marcinko ","Ajax Search Pro":"4.21.9 by Ernest Marcinko ","Akismet Anti-Spam":"4.2.2 by Automattic ","All-in-One Video Gallery":"2.5.1 by Team Plugins360 ","Aspose.Words":"6.2.0 by aspose.cloud Marketplace ","Awesome Widgets for SiteOrigin Page Builder":"3.0 by phoeniixx ","Create And Assign Categories For Pages":"1.2 by Sandeep Singh ","Default featured image":"1.7.1 by Jan Willem Oostendorp ","Display Posts":"3.0.2 by Bill Erickson ","Fuse Social Floating Sidebar":"5.4.1 by Daniyal Ahmed ","GDPR Cookie Consent":"2.0.9 by WebToffee ","Grid Plus":"1.3.2 by G5Theme ","Hum":"1.2.8 by Will Norris ","Import and export users and customers":"1.19.1.7 by codection ","Increase Maximum Upload File Size":"2.0.4 by Imagify ","Like Button Rating u2665 LikeBtn":"2.6.41 by LikeBtn ","Livemesh SiteOrigin Widgets":"2.8.1 by Livemesh ","MetaSlider":"3.25.2 by MetaSlider ","Meta Tag Manager":"3.0.2 by Marcus Sykes ","Newsletter":"7.3.6 by Stefano Lissa & The Newsletter Team ","Newsletter - Addons Manager":"1.1.5 by The Newsletter Team ","Newsletter - Archive":"4.0.6 by The Newsletter Team ","Newsletter - Automated Newsletters":"4.5.4 by The Newsletter Team ","Newsletter - Autoresponder":"1.3.6 by The Newsletter Team ","Newsletter - Extended Composer Blocks":"1.3.7 by The Newsletter Team ","Newsletter - Facebook":"4.0.9 by The Newsletter Team ","Newsletter - Geolocation":"1.1.6 by The Newsletter Team ","Newsletter - Google Analytics":"1.1.5 by The Newsletter Team ","Newsletter - Reports and Retargeting":"4.4.3 by The Newsletter Team ","Newsletter - Subscribe on Comments":"1.0.8 by The Newsletter Team ","Newsletter - WooCommerce":"1.7.4 by The Newsletter Team ","Newsletter - WP Users Integration":"1.2.8 by The Newsletter Team ","Page Builder by SiteOrigin":"2.16.1 by SiteOrigin ","PDF Embedder":"4.6.4 by WP PDF Embedder Team ","Potent Donations for WooCommerce":"1.1.6 by Aspen Grove Studios ","Print, PDF & Email by PrintFriendly":"5.2.2 by Print, PDF, & Email by PrintFriendly ","Print My Blog":"3.10.1 by Michael Nelson ","SiteOrigin CSS":"1.5.2 by SiteOrigin ","SiteOrigin Widgets Bundle":"1.29.1 by SiteOrigin ","TablePress":"1.14 by Tobias Bu00e4thge ","Title Remover":"1.2.1 by WPGurus ","Vmagazine Companion":"1.0.3 by AccessPress Themes ","WooCommerce":"6.1.1 by Automattic ","WooCommerce Admin":"3.1.0 by WooCommerce ","WooCommerce Memberships":"1.13.0 by SkyVerge ","WooCommerce One Page Checkout":"1.6.0 by Prospress Inc. ","WooCommerce PayPal Payments":"1.6.5 by WooCommerce ","WooCommerce Xero Integration":"1.7.16 by WooCommerce ","Woo Donations Pro":"1.3 by Geek Code Lab ","WordPress Importer":"0.7 by wordpressdotorg ","WordPress Users & WooCommerce Customers Import Export(BASIC)":"2.2.7 by WebToffee ","WP AutoTerms":"2.4.9 by WP AutoTerms ","WP Crontrol":"1.12.0 by John Blackbourn & crontributors ","WP Mail SMTP Pro":"3.2.1 by WPForms ","WP Popup Banners":"1.2.4 by AccessPress Themes ","WP RSS Aggregator":"4.20 by RebelCode ","WP RSS Aggregator - Feed to Post":"3.15.4 by RebelCode ","WP RSS Aggregator - SpinnerChief":"1.0.1 by RebelCode ","WP Super Cache":"1.7.7 by Automattic ","WP to Twitter":"3.5.5 by Joseph C Dolson ","WP Tweets PRO":"2.0.6 by Joseph C Dolson ","WPUM Registration Forms":"1.3.3 by WP User Manager ","WP User Manager":"2.7.1 by WP User Manager ","Yoast SEO":"18.0 by Team Yoast "},"active_theme":{"name":"Vmagazine (vmagazine)","version":"1.1.4","author":"AccessPress Themes","author_website":"https://accesspressthemes.com/","parent_theme":"None","theme_features":"core-block-patterns, post-thumbnails, widgets-block-editor, automatic-feed-links, title-tag, custom-logo, gutenberg, menus, html5, post-formats, custom-background, customize-selective-refresh-widgets, custom-header, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, widgets, editor-style"},"debug":false,"post_max_size":"8M","upload_max_size":"2M","effective_max_size":2097152,"ssl":true,"multisite":false,"projects":[{"title":"Nevada-today by Andrew Davey","generations":{"digital_pdf":"https://nevada-today.com/wp-content/uploads/pmb/generated/MBnbC6quub0C3dUcYoOy/digital_pdf/nevada-today-by-andrew-davey.html?uniqueness=1643895915"},"meta":{"_pmb_subtitle":"by Andrew Davey","_pmb_url":"https://nevada-today.com","_pmb_error_print_pdf":"error generating. Status:, message: error, raw response: <br />n<b>Fatal error</b>:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 53248 bytes) in <b>/mnt/data/vhosts/nevada-today.com/httpdocs/wp-includes/wp-db.php</b> on line <b>2162</b><br />n<p>There has been a critical error on this website.</p><p><a href="https://wor
mmcgreer commented 2 years ago

generating blog content got t his pop up: There was an error preparing your content. Please visit the Print My Blog Help page. nothing in help page tells me how to correct issues or even what the error was

mnelson4 commented 2 years ago

Hi @mmcgreer, thanks for reporting the error here. The debugging info indicates that your server ran out of memory while creating the print page (an HTML page with all the content from your project, in preparation for creating the PDF or ePub). I'm sorry you're the first one to have reported this issue. I'm pretty confident it's because you're printing so many posts at once. Pro Print doesn't yet support such large projects.

Your options are:

  1. Try using Quick Print (from the WordPress admin dashboard, under "Print My Blog", click "Quick Print"). That works differently, and although it doesn't have as many options, it is capable of much larger printouts.
  2. Instead of printing all posts at once, create multiple projects. One for each year or something like that. Then on the "Edit Contents" page, click "Show FIlters", then use the "Written Between" filters to only show posts written during a particular year (or whatever date range you want; the most posts I've ever done at once is a bit over 300.) Then hide the filters, then click "Select All" and press the large print button that appears in the middle of the screen to add those particular contents to your project. Then repeat for each year or time period you think best.

Do those options make sense?

mmcgreer commented 2 years ago

Ok. I thought that might be the case. Thanks for letting me know

On Fri, Feb 4, 2022 at 8:52 AM Mike Nelson @.***> wrote:

Hi @mmcgreer https://github.com/mmcgreer, thanks for reporting the error here. The debugging info indicates that your server ran out of memory while creating the print page (an HTML page with all the content from your project, in preparation for creating the PDF or ePub). I'm sorry you're the first one to have reported this issue. I'm pretty confident it's because you're printing so many posts at once. Pro Print doesn't yet support such large projects.

Your options are:

  1. Try using Quick Print (from the WordPress admin dashboard, under "Print My Blog", click "Quick Print"). That works differently, and although it doesn't have as many options, it is capable of much larger printouts.
  2. Instead of printing all posts at once, create multiple projects. One for each year or something like that. Then on the "Edit Contents" page, click "Show FIlters", then use the "Written Between" https://i.imgur.com/uS416AW.png filters to only show posts written during a particular year (or whatever date range you want; the most posts I've ever done at once is a bit over 300.) Then hide the filters, then click "Select All" and press the large print button that appears in the middle of the screen https://i.imgur.com/rnOJ38V.png to add those particular contents to your project. Then repeat for each year or time period you think best.

Do those options make sense?

— Reply to this email directly, view it on GitHub https://github.com/mnelson4/printmyblog/issues/298#issuecomment-1030165645, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI634FS7GS6XHYRF7W6KWGLUZP74FANCNFSM5NQD4YSA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

-- Michael M. McGreer, Ph.D 533 Rolling Hills, Mesquite, Nevada, 89027 703 244 -0234 cell twitter.com/manfordmcgreer facebook.com/michaelmcgreer http://nevada-today.com http://mesquitewateralliance.com

mnelson4 commented 2 years ago

closing due to inactivity, feel free to reopen