mnelson4 / printmyblog

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

Error message at top of screen #302

Closed generalsynod closed 2 years ago

generalsynod commented 2 years ago

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

Not an error with your plugin per se, but errors are showing up at the top of the PDF creation screen, and are carried over to the PDF itself.


{"php":"7.4.27","wp":"5.8.3","site_url":"https://dev.faithtides.ca","home_url":"https://dev.faithtides.ca","language":"en_US","public":"1","environment_type":"production","plugins_active":{"Advanced Ads":"1.31.1 by Thomas Maier, Advanced Ads GmbH ","Advanced Custom Fields":"5.11.4 by Delicious Brains ","Better Search Replace":"1.3.4 by Delicious Brains ","Classic Editor":"1.6.2 by WordPress Contributors ","Classic Widgets":"0.3 by WordPress Contributors ","Custom Adobe Fonts (Typekit)":"1.0.18 by Brainstorm Force ","Display Posts":"3.0.2 by Bill Erickson ","E2Pdf":"1.16.44 by E2Pdf.com ","Elementor":"3.5.3 by Elementor.com (Latest version: 3.5.5) ","Elementor Pro":"3.5.2 by Elementor.com ","FaithTides u2014 Anglican News Canada Custom Code Items":"1.0.5 by Brian Bukowski ","MPL-Publisher":"1.34.1 by Ferran Figueredo ","Password Protect WordPress Lite":"1.8.0 by BWPS ","Printable PDF Newspaper":"1.1.2 by Chris Hardie ","Print My Blog":"3.10.1 by Michael Nelson ","PublishPress Authors Pro":"3.14.9 by PublishPress ","PublishPress Capabilities Pro":"2.3.3 by PublishPress ","Relevanssi Premium":"2.16.5 by Mikko Saari (Latest version: 2.16.8) ","Safe SVG":"1.9.9 by Daryll Doyle ","Stream":"3.8.2 by XWP ","Ultimate Addons for Elementor":"1.35.3 by Brainstorm Force (Latest version: 1.36.3) ","WordPress Importer":"0.7 by wordpressdotorg ","WP Accessibility":"1.7.13 by Joe Dolson (Latest version: 1.7.14) ","WP Mail SMTP Pro":"3.2.1 by WPForms ","Yoast SEO":"17.8 by Team Yoast (Latest version: 18.1) "},"active_theme":{"name":"Hello Elementor Child (hello-theme-child-master)","version":"1.0.1","author":"Elementor Team","author_website":"https://elementor.com/","parent_theme":"Hello Elementor (hello-elementor)","theme_features":"core-block-patterns, widgets, widgets-block-editor, menus, post-thumbnails, automatic-feed-links, title-tag, html5, custom-logo, editor-style, align-wide, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider"},"debug":false,"post_max_size":"80M","upload_max_size":"80M","effective_max_size":83886080,"ssl":true,"multisite":true,"projects":[{"title":"January 2022","generations":{"print_pdf":"https://dev.faithtides.ca/wp-content/uploads/sites/5/pmb/generated/buyH2WO66umlvNBSPURb/print_pdf/january-2022.html?uniqueness=1644312542","digital_pdf":"https://dev.faithtides.ca/wp-content/uploads/sites/5/pmb/generated/buyH2WO66umlvNBSPURb/digital_pdf/january-2022.html?uniqueness=1644312542"},"meta":{"_pmb_subtitle":null,"_pmb_url":"faithtides.ca","_pmb_byline":"Editor Jane Doe","_pmb_cover_preamble":"Lorem Ipsum"},"designs":{"digital_pdf":{"title":171902,"template":"Mayer Digital PDF","meta":{"_pmb_page_per_post":"","_pmb_post_header_in_columns":"","_pmb_dividing_line":"1","_pmb_images_full_column":"1","_pmb_no_extra_columns":"1","_pmb_image_placement":"snap-unless-fit","_pmb_use_theme":"","_pmb_custom_css":null,"_pmb_powered_by":"1"}},"print_pdf":{"title":171899,"template":"Classic Print PDf
[January 2022-4.pdf](https://github.com/mnelson4/printmyblog/files/8024659/January.2022-4.pdf)
","meta":{"_pmb_header_content":["title","url","date_printed"],"_pmb_post_content":["title","author","published_date","featured_image","content"],"_pmb_page_per_post":"","_pmb_main_header_font_size":"4em","_pmb_header_font_style":"palatino linotype","_pmb_font_size":"10pt","_pmb_font_style":"palatino linotype","_pmb_paragraph_indent":"1","_pmb_image_size":"400","_pmb_default_alignment":"center","_pmb_image_placement":"snap-unless-fit","_pmb_page_width":"8.5in","_pmb_page_height":"11in","_pmb_internal_links":"parens","_pmb_page_reference_text":"(see page %s)","_pmb_internal_footnote_text":"See page %s.","_pmb_external_links":"remove","_pmb_footnote_text":"See %s.","_pmb_use_theme":"","_pmb_custom_css":null,"_pmb_powered_by":"1"}},"epub":{"title":171903,"template":"Classic ePub","meta":{"_pmb_header_content":["title","subtitle","url","date_printed"],"_pmb_post_content":["title","id","author","url","published_date","categories","featured_image","excerpt","content"],"_pmb_custom_css":null,"_pmb_powered_by":"1"}}}}]}
``
<img width="1552" alt="Screenshot 2022-02-08 at 3 31 10 PM" src="https://user-images.githubusercontent.com/8311607/153007767-976a9ce7-6087-4685-a349-8dc9878c62b6.png">
`
mnelson4 commented 2 years ago

Ya that's a warning coming from the Ultimate Elementor plugin. That should go away if you turn WP_DEBUG to False in your wp-config.php file and turn off PHP warnings.

E.g.,

define( 'WP_DEBUG', false );
ini_set('display_errors','Off');
ini_set('error_reporting', E_ALL );
define('WP_DEBUG', false);
define('WP_DEBUG_DISPLAY', false);

Otherwise, I can help look into why Ultimate Elementor is having that warning (maybe I can recommend a fix to its developers, or change something in PMB that will prevent Ultimate Elementor from having that warning)

mnelson4 commented 2 years ago

The next release has a fix for this

mnelson4 commented 2 years ago

closing due to inactivity, feel free to reopen