Fatal error: Call to a member function get_header_logo_id() on null
-
Hello all,
I receive the following error when trying to create an invoice/packing slip for a received order:
Fatal error: Call to a member function get_header_logo_id() on null
/usr/www/users/compudp/pibella.co.za/wp-content/themes/x-child/woocommerce/pdf/Pibella/invoice.php (8)
#0 /usr/www/users/compudp/pibella.co.za/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(1223): include()
#1 /usr/www/users/compudp/pibella.co.za/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(1081): WPO\WC\PDF_Invoices\Documents\Order_Document->render_template('/usr/www/users/...', Array)
#2 /usr/www/users/compudp/pibella.co.za/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(1036): WPO\WC\PDF_Invoices\Documents\Order_Document->get_html()
#3 /usr/www/users/compudp/pibella.co.za/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(1103): WPO\WC\PDF_Invoices\Documents\Order_Document->get_pdf()
#4 /usr/www/users/compudp/pibella.co.za/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-main.php(566): WPO\WC\PDF_Invoices\Documents\Order_Document->output_pdf('download')
#5 /usr/www/users/compudp/pibella.co.za/wp-includes/class-wp-hook.php(324): WPO\WC\PDF_Invoices\Main->generate_document_ajax('')
#6 /usr/www/users/compudp/pibella.co.za/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#7 /usr/www/users/compudp/pibella.co.za/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#8 /usr/www/users/compudp/pibella.co.za/wp-admin/admin-ajax.php(192): do_action('wp_ajax_generat...')
#9 {main}
I have had to revert to a previous backup version of Woocommerce as updating to the latest version breaks the website, preventing me from accessing the back or front end.
Any help would be highly appreciated.
Many thanks.
________________________WordPress Environment<br><br>WordPress address (URL): https://www.pibella.co.za<br>Site address (URL): https://www.pibella.co.za<br>WC Version: 8.9.3<br>REST API Version: ? 8.9.3<br>Action Scheduler Version: ? 3.7.4<br>Log Directory Writable: ?<br>WP Version: 6.5.5<br>WP Multisite: –<br>WP Memory Limit: 256 MB<br>WP Debug Mode: –<br>WP Cron: ?<br>Language: en_US<br>External object cache: – Server Environment<br><br>Server Info: Apache<br>PHP Version: 8.1.29<br>PHP Post Max Size: 32 MB<br>PHP Time Limit: 60<br>PHP Max Input Vars: 2500<br>cURL Version: 7.74.0<br>OpenSSL/1.1.1w<br><br>SUHOSIN Installed: –<br>MySQL Version: 10.5.25-MariaDB-deb11<br>Max Upload Size: 32 MB<br>Default Timezone is UTC: ?<br>fsockopen/cURL: ?<br>SoapClient: ?<br>DOMDocument: ?<br>GZip: ?<br>Multibyte String: ?<br>Remote Post: ?<br>Remote Get: ? Database<br><br>WC Database Version: 7.2.2<br>WC Database Prefix: wp_<br>Total Database Size: 18.47MB<br>Database Data Size: 13.34MB<br>Database Index Size: 5.13MB<br>wp_woocommerce_sessions: Data: 0.01MB + Index: 0.00MB + Engine MyISAM<br>wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_woocommerce_order_itemmeta: Data: 0.03MB + Index: 0.02MB + Engine MyISAM<br>wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_actionscheduler_actions: Data: 3.52MB + Index: 2.84MB + Engine InnoDB<br>wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_logs: Data: 2.52MB + Index: 0.86MB + Engine InnoDB<br>wp_aelia_dismissed_messages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_akeeba_common: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_ak_params: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_ak_profiles: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_ak_schedules: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_ak_stats: Data: 0.08MB + Index: 0.03MB + Engine InnoDB<br>wp_ak_storage: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_ak_users: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_comments: Data: 0.01MB + Index: 0.01MB + Engine MyISAM<br>wp_duplicator_packages: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_icl_cms_nav_cache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_icl_content_status: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_icl_core_status: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_icl_flags: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_icl_languages: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wp_icl_languages_translations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_icl_locale_map: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_icl_message_status: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_icl_mo_files_domains: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>wp_icl_node: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_icl_reminders: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_icl_strings: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_icl_string_packages: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_icl_string_pages: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_icl_string_positions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_icl_string_status: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_icl_string_translations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_icl_string_urls: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wp_icl_translate: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_icl_translate_job: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_icl_translations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_icl_translation_batches: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_icl_translation_status: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_magictoolbox_store: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_ngg_album: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_ngg_gallery: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_ngg_pictures: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_options: Data: 4.47MB + Index: 0.09MB + Engine MyISAM<br>wp_postmeta: Data: 1.12MB + Index: 0.15MB + Engine MyISAM<br>wp_posts: Data: 0.12MB + Index: 0.05MB + Engine MyISAM<br>wp_revslider_css: Data: 0.09MB + Index: 0.01MB + Engine MyISAM<br>wp_revslider_css_bkp: Data: 0.09MB + Index: 0.01MB + Engine MyISAM<br>wp_revslider_layer_animations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_revslider_layer_animations_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_revslider_navigations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_revslider_navigations_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_revslider_sliders: Data: 0.02MB + Index: 0.00MB + Engine MyISAM<br>wp_revslider_sliders_bkp: Data: 0.02MB + Index: 0.00MB + Engine MyISAM<br>wp_revslider_slides: Data: 0.01MB + Index: 0.00MB + Engine MyISAM<br>wp_revslider_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine MyISAM<br>wp_revslider_static_slides: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_revslider_static_slides_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_rich_web_cs_font_family: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_rich_web_cs_forms_cust_id: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_rich_web_cs_forms_info: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_rich_web_cs_forms_mails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_rich_web_cs_forms_options: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_rich_web_cs_forms_saved: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_rich_web_cs_forms_themes1: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_rich_web_cs_forms_themes2: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_rich_web_cs_forms_themes3: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_rich_web_cs_form_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wp_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wp_term_relationships: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_term_taxonomy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wp_usermeta: Data: 0.03MB + Index: 0.02MB + Engine MyISAM<br>wp_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wp_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wcpdf_invoice_number_2021: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wcpdf_invoice_number_2023: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wcpdf_packing_slip_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_admin_notes: Data: 0.09MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB<br>wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_yoast_indexable: Data: 0.02MB + Index: 0.09MB + Engine InnoDB<br>wp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_yoast_seo_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB Post Type Counts<br><br>attachment: 478<br>custom_css: 1<br>nav_menu_item: 6<br>ngg_gallery: 2<br>ngg_pictures: 3<br>page: 6<br>post: 2<br>product: 3<br>product_variation: 3<br>revision: 29<br>shop_coupon: 5<br>shop_order: 24<br>wpcode: 2 Security<br><br>Secure connection (HTTPS): ?<br>Hide errors from visitors: ? Active Plugins (11)<br><br>Akeeba Backup CORE for WordPress: by Akeeba Ltd – 8.2.3<br>Classic Editor: by WordPress Contributors – 1.6.3<br>Cornerstone: by Themeco – 7.5.1<br>Really Simple SSL: by Really Simple Plugins – 8.1.5<br>Search & Replace: by WP MEDIA SAS – 3.2.2<br>WooCommerce Payfast Gateway: by WooCommerce – 1.6.5<br>PDF Invoices & Packing Slips for WooCommerce: by WP Overnight – 3.8.4<br>WooCommerce: by Automattic – 8.9.3 (update to version 9.1.2 is available)<br>Yoast SEO: by Team Yoast – 23.0<br>WP Mail SMTP: by WP Mail SMTP – 4.0.1<br>X – Under Construction: by Themeco – 1.2.4 Inactive Plugins (35)<br><br>Advanced Custom Fields Multilingual: by OnTheGoSystems – 0.5<br>Advanced Database Cleaner: by Younes JFR. – 3.1.4<br>Aelia Foundation Classes for WooCommerce: by Aelia – 2.0.4.190201<br>Akismet Anti-spam: Spam Protection: by Automattic - Anti-spam Team – 5.3.3<br>Better Search Replace: by WP Engine – 1.4.7<br>Duplicator: by Duplicator – 1.5.10<br>Finale Lite - Sales Countdown Timer & Discount for WooCommerce: by XLPlugins – 2.18.2<br>Gravity Forms Multilingual: by OnTheGoSystems – 1.3.15<br>Hello Dolly: by Matt Mullenweg – 1.7.2<br>Magic Zoom for WooCommerce: by Magic Toolbox – 6.6.17<br>NextGEN Gallery: by Imagely – 3.59.3<br>NextGEN Plus: by Imagely – 1.3.29<br>Rich Coming Soon - Maintenance Mode & Under Construction: by richteam – 1.2.0<br>Simple Site Map Page: by Jb Audras – 1.2.2<br>Slider Revolution: by ThemePunch – 6.7.14<br>WooCommerce Blacklister: by Aelia – 1.0.1.190129<br>WooCommerce Currency Switcher: by realmag777 – 2.1.9<br>WooCommerce Multilingual & Multicurrency: by OnTheGoSystems – 5.3.6<br>WooCommerce PDF Invoices & Packing Slips Premium Templates: by Ewout Fernhout – 2.3.3<br>WooCommerce PDF Invoices & Packing Slips Professional: by Ewout Fernhout – 1.5.2<br>WooCommerce Print Orders - Google Cloud Print: by David Anderson – 2.7.33<br>WooCommerce Wholesale Prices: by Rymera Web Co – 2.1.12<br>WooSwatches - Woocommerce Color or Image Variation Swatches: by parbat chaudhari – 2.3.6<br>WP-Table Reloaded: by Tobias B?thge – 1.9.4<br>WPCode Lite: by WPCode – 2.1.14<br>WP Customer Reviews: by Aaron Queen – 3.7.2<br>WPML All Import: by OnTheGoSystems – 2.0.8<br>WPML CMS Nav: by OnTheGoSystems – 1.4.23<br>WPML Media: by OnTheGoSystems – 2.3.5<br>WPML Multilingual CMS: by OnTheGoSystems – 4.0.8<br>WPML Page Builders: by OnTheGoSystems – 1.1.3<br>WPML Sticky Links: by OnTheGoSystems – 1.4.2<br>WPML String Translation: by OnTheGoSystems – 2.8.5<br>WPML Translation Management: by OnTheGoSystems – 2.6.5<br>WP Overnight Sidekick: by WP Overnight – 2.5.0 Settings<br><br>API Enabled: ?<br>Force SSL: ?<br>Currency: ZAR (R)<br>Currency Position: left<br>Thousand Separator: ,<br>Decimal Separator: .<br>Number of Decimals: 0<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable)<br><br>Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)<br><br>Connected to WooCommerce.com: –<br>Enforce Approved Product Download Directories: –<br>HPOS feature enabled: –<br>Order datastore: WC_Order_Data_Store_CPT<br>HPOS data sync enabled: – Logging<br><br>Enabled: ?<br>Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2<br>Retention period: 30 days<br>Level threshold: –<br>Log directory size: 3 MB WC Pages<br><br>Shop base: #4 - /<br>Cart: #5 - /warenkorb/<br>Checkout: #6 - /kasse/<br>My account: #7 - /mein-konto/<br>Terms and conditions: ? Page not set Theme<br><br>Name: X – Child Theme<br>Version: 1.0.0<br>Author URL: https://theme.co/<br>Child Theme: ?<br>Parent Theme Name: X<br>Parent Theme Version: 10.4.6<br>Parent Theme Author URL: https://theme.co<br>WooCommerce Support: ? Templates<br><br>Overrides: – Admin<br><br>Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customize-store<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>product-variation-management<br>product-virtual-downloadable<br>product-external-affiliate<br>product-grouped<br>product-linked<br>product-pre-publish-modal<br>product-custom-fields<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page<br><br>Disabled Features: minified-js<br>new-product-management-experience<br>settings<br>async-product-editor-category-field<br>launch-your-store<br><br>Daily Cron: ? Next scheduled: 2024-07-16 13:00:16 +02:00<br>Options: ?<br>Notes: 160<br>Onboarding: completed Action Scheduler<br><br>Complete: 2,208<br>Oldest: 2024-06-14 20:14:11 +0200<br>Newest: 2024-07-15 18:59:30 +0200<br><br>Failed: 4,531<br>Oldest: 2023-02-15 18:17:12 +0200<br>Newest: 2023-06-16 19:38:52 +0200<br><br>Pending: 6<br>Oldest: 2024-07-15 18:59:42 +0200<br>Newest: 2025-01-01 00:00:01 +0200 Status report information<br><br>Generated at: 2024-07-15 18:59:46 +02:00<br>
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.