• Resolved sparksofthunder

    (@sparksofthunder)


    Need help to find the issue in this log:

    CRITICAL Uncaught Error: Call to a member function get_name() on bool in /home3/oreoslim/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Factory/ItemFactory.php:142
    Stack trace:
    #0 /home3/oreoslim/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Factory/ItemFactory.php(102): WooCommercePayPalCommerceApiClientFactoryItemFactory->from_wc_order_line_item(Object(WC_Order_Item_Product), Object(AutomatticWooCommerceAdminOverridesOrder))
    #1 [internal function]: WooCommercePayPalCommerceApiClientFactoryItemFactory->WooCommercePayPalCommerceApiClientFactory{closure}(Object(WC_Order_Item_Product))
    #2 /home3/oreoslim/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Factory/ItemFactory.php(104): array_map(Object(Closure), Array)
    #3 /home3/oreoslim/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Factory/AmountFactory.php(121): WooCommercePayPalCommerceApiClient in /home3/oreoslim/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Factory/ItemFactory.php on line 142

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @sparksofthunder

    Thanks for sharing the error log. Seems the errors are coming from a payment related plugin.

    In addition, please also share a copy of your site’s System Status so we can get a better idea of your setup.

    You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.

    We’ll look forward to hearing from you.

    Thread Starter sparksofthunder

    (@sparksofthunder)

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://oreoslimo.com
    Site address (URL): https://oreoslimo.com
    WC Version: 6.3.1
    REST API Version: ? 6.3.1
    WC Blocks Version: ? 6.9.0
    Action Scheduler Version: ? 3.4.0
    WC Admin Version: ? 3.2.1
    Log Directory Writable: ?
    WP Version: 5.9.2
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.3.33
    PHP Post Max Size: 516 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.81.0
    OpenSSL/1.1.1m
    
    SUHOSIN Installed: –
    MySQL Version: 5.6.41-84.1
    Max Upload Size: 512 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 6.3.1
    WC Database Prefix: wpix_
    Total Database Size: 56.70MB
    Database Data Size: 50.07MB
    Database Index Size: 6.63MB
    wpix_woocommerce_sessions: Data: 0.04MB + Index: 0.00MB + Engine MyISAM
    wpix_woocommerce_api_keys: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpix_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpix_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpix_woocommerce_order_items: Data: 0.12MB + Index: 0.07MB + Engine MyISAM
    wpix_woocommerce_order_itemmeta: Data: 0.89MB + Index: 0.66MB + Engine MyISAM
    wpix_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpix_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpix_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpix_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpix_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpix_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpix_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpix_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpix_actionscheduler_actions: Data: 0.26MB + Index: 0.13MB + Engine MyISAM
    wpix_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpix_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpix_actionscheduler_logs: Data: 0.23MB + Index: 0.14MB + Engine MyISAM
    wpix_all_in_one_redirection: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wpix_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpix_comments: Data: 0.11MB + Index: 0.06MB + Engine MyISAM
    wpix_duplicator_packages: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpix_fusion_forms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpix_fusion_form_entries: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wpix_fusion_form_fields: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpix_fusion_form_submissions: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wpix_grp_google_place: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpix_grp_google_review: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpix_grp_google_stats: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpix_imagify_files: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wpix_imagify_folders: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpix_ip2location_country_blocker_log: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpix_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpix_litespeed_img_optm: Data: 0.17MB + Index: 0.11MB + Engine InnoDB
    wpix_litespeed_img_optming: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpix_loginizer_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpix_mystickyelement_contact_lists: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpix_options: Data: 7.82MB + Index: 0.10MB + Engine MyISAM
    wpix_postmeta: Data: 6.72MB + Index: 2.88MB + Engine MyISAM
    wpix_posts: Data: 17.85MB + Index: 0.22MB + Engine MyISAM
    wpix_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpix_termmeta: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    wpix_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpix_term_relationships: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpix_term_taxonomy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpix_usermeta: Data: 0.26MB + Index: 0.12MB + Engine MyISAM
    wpix_users: Data: 0.02MB + Index: 0.02MB + Engine MyISAM
    wpix_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpix_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wpix_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpix_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpix_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpix_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpix_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpix_wc_order_product_lookup: Data: 0.16MB + Index: 0.19MB + Engine InnoDB
    wpix_wc_order_stats: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
    wpix_wc_order_tax_lookup: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wpix_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpix_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpix_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpix_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpix_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpix_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpix_wc_zapier_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpix_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpix_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpix_wfconfig: Data: 2.41MB + Index: 0.00MB + Engine InnoDB
    wpix_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpix_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpix_wffilemods: Data: 6.52MB + Index: 0.00MB + Engine InnoDB
    wpix_wfhits: Data: 2.02MB + Index: 0.25MB + Engine InnoDB
    wpix_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpix_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpix_wfknownfilelist: Data: 2.52MB + Index: 0.00MB + Engine InnoDB
    wpix_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpix_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpix_wflogins: Data: 0.08MB + Index: 0.03MB + Engine InnoDB
    wpix_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpix_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpix_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpix_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpix_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpix_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpix_wfstatus: Data: 0.17MB + Index: 0.11MB + Engine InnoDB
    wpix_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpix_woocommerce_square_customers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpix_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpix_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpix_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpix_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpix_wpr_rucss_resources: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpix_wpr_rucss_used_css: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpix_yith_wc_stripe_blacklist: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpix_yoast_indexable: Data: 0.26MB + Index: 0.11MB + Engine MyISAM
    wpix_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine MyISAM
    wpix_yoast_migrations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpix_yoast_primary_term: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpix_yoast_prominent_words: Data: 0.09MB + Index: 0.20MB + Engine InnoDB
    wpix_yoast_seo_links: Data: 0.26MB + Index: 0.07MB + Engine MyISAM
    
    ### Post Type Counts ###
    
    attachment: 152
    chbs_booking: 542
    chbs_booking_extra: 4
    chbs_booking_form: 14
    chbs_coupon: 1
    chbs_driver: 2
    chbs_email_account: 2
    chbs_geofence: 1
    chbs_route: 4
    chbs_tax_rate: 1
    chbs_vehicle: 15
    chbs_vehicle_attr: 8
    fusion_element: 19
    fusion_form: 6
    fusion_icons: 1
    fusion_tb_layout: 3
    fusion_tb_section: 6
    grw_feed: 3
    nav_menu_item: 22
    page: 34
    post: 22
    product: 1
    revision: 797
    shop_order: 529
    shop_order_refund: 1
    wpcf7_contact_form: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (23) ###
    
    Chauffeur Booking System for WordPress: by QuanticaLabs – 5.9
    Contact Form 7: by Takayuki Miyoshi – 5.5.6
    Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.4
    Facebook for WooCommerce: by Facebook – 2.6.12
    Avada Builder: by ThemeFusion – 3.4.1
    Avada Core: by ThemeFusion – 5.4.1
    XML Sitemaps: by Auctollo – 4.1.1
    Header and Footer Scripts: by Digital Liberation – 2.2.1
    Login Logout Register Menu: by Vinod Dalvi – 2.0
    Loginizer: by Softaculous – 1.7.0
    Minimal Coming Soon & Maintenance Mode: by WebFactory Ltd – 2.33
    myStickyElements: by Premio – 2.0.4
    Quick META Keywords: by Quick Online Tips – 1.1
    Widget for Google Reviews: by RichPlugins  – 2.1.4
    Checkout Field Editor for WooCommerce: by ThemeHigh – 1.6.0
    WooCommerce PayPal Payments: by WooCommerce – 1.7.0
    WooCommerce: by Automattic – 6.3.1
    Wordfence Security: by Wordfence – 7.5.9
    Yoast SEO: by Team Yoast – 18.4.1
    WP Fastest Cache: by Emre Vona – 1.0.0
    WP Mail SMTP: by WPForms – 3.3.0
    
    ### Inactive Plugins (9) ###
    
    Duplicator: by Snap Creek – 1.4.4
    IP2Location Country Blocker: by IP2Location – 2.26.11
    PayPal Express Checkout Payment Gateway for WooCommerce ( Basic ): by WebToffee – 1.7.0
    Smush: by WPMU DEV – 3.9.5
    WooCommerce PayPal Pro: by wp.insider – 2.9.10
    WooCommerce Square: by WooCommerce – 2.9.1
    WooCommerce Stripe Gateway: by WooCommerce – 6.3.0
    WPForms Lite: by WPForms – 1.7.3
    YITH WooCommerce Stripe Premium: by YITH – 2.1.6
    
    ### Dropin Plugins (1) ###
    
    advanced-cache.php: advanced-cache.php
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    Connected to WooCommerce.com: –
    
    ### WC Pages ###
    
    Shop base: #10644 - /shop/
    Cart: #10645 - /oreos-limo-cart/
    Checkout: #10646 - /checkout/
    My account: ? Page does not contain the [woocommerce_my_account] shortcode.
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: Avada Child
    Version: 1.0.0
    Author URL: https://theme-fusion.com
    Child Theme: ?
    Parent Theme Name: Avada
    Parent Theme Version: 7.4.1
    Parent Theme Author URL: https://themeforest.net/user/ThemeFusion
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: Avada/woocommerce/cart/cart.php
    Avada/woocommerce/checkout/form-pay.php
    Avada/woocommerce/checkout/review-order.php
    Avada/woocommerce/checkout/thankyou.php
    Avada/woocommerce/loop/loop-start.php
    Avada/woocommerce/single-product/add-to-cart/variable.php version 3.5.5 is out of date. The core version is 6.1.0
    Avada/woocommerce/single-product/short-description.php
    Avada/woocommerce/single-product/tabs/additional-information.php
    Avada/woocommerce/single-product/tabs/description.php
    
    Outdated Templates: ?
    					
    					
    						Learn how to update
    
    ### WooCommerce PayPal Payments ###
    
    Onboarded: ?
    Shop country code: US
    WooCommerce currency supported: ?
    PayPal card processing available in country: ?
    Pay Later messaging available in country: ?
    Webhook status: –
    Vault enabled: ?
    Logging enabled: ?
    Reference Transactions: ?
    Used PayPal Checkout plugin: –
    
    ### Action Scheduler ###
    
    Complete: 1,082
    Oldest: 2022-04-01 06:50:31 -0500
    Newest: 2022-04-05 07:36:17 -0500
    
    Pending: 1
    Oldest: 2022-04-10 03:47:52 -0500
    Newest: 2022-04-10 03:47:52 -0500
    
    ### Status report information ###
    
    Generated at: 2022-04-05 07:53:34 -05:00
    

    Hi @sparksofthunder

    Thank you for sharing your system status. I see that you are currently using the WooCommerce PayPal Payments plugin. Since the error is related to the PayPal plugin, you can request support on this forum below:

    https://www.ads-software.com/support/plugin/woocommerce-paypal-payments/

    As further assistance is to be provided by the PayPal Payments team in the forum, I’ll go ahead and mark this thread as resolved.

    Feel free to create a new topic if you have other questions.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Woocommerce Paypal Errorr’ is closed to new replies.