• Resolved clkcrew

    (@clkcrew)


    Uncaught Error: Class ‘Uncaught Error: Class ‘WC_Order_Item_Product’ not found’ not found

    Uncaught Error: Class ‘WC_Order_Item_Product’ not found

    Uncaught Error: Class ‘WC_Order_Item_Product’ not found in /home/xxx/domains/xxx/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php:388nStack trace:n#0 /home/rxxxx/domains/xxx/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(351): WC_Checkout->create_order_line_items(Object(WC_Order), Object(WC_Cart))n#1 /home/xxx/domains/xxxx/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1067): WC_Checkout->create_order(Array)n#2 /home/xxx/domains/xxx/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(434): WC_Checkout->process_checkout()n#3 /home/rimdmwna/domains/gamestorge.com/public_html/wp-includes/class-wp-hook.php(286): WC_AJAX::checkout(”)n#4 /home/xxxx/domains/xxx/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)n#5 /home/xxxx/domains/xxxx/public_html/wp-includes/plugi…n’, referer: https://xxx.xxx/odeme/

    How can I solve this problem?

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Sean Cull

    (@seanreloaded)

    Automattic Happiness Engineer

    Hi there,

    Errors like that are usually caused by theme or plugin conflicts happening on the site.

    First, make sure that your theme, WooCommerce, and all other active plugins are updated to their most current versions.

    Then please try switching to the WordPress default theme (Twenty Nineteen) or the WooCommerce default theme (Storefront) temporarily to see if the issue persists. If so, then we can rule out an issue with the theme.

    If even after switching themes the issue persists, please deactivate all other plugins, then retest. If the issue is resolved, then reactivate the other plugins – one by one – testing each time to see if the error is still resolved until you find the one causing the error.

    Thread Starter clkcrew

    (@clkcrew)

    i will try what you say

    Thread Starter clkcrew

    (@clkcrew)

    @seanreloaded I did what you said but my problem did not improve

    laceyrod

    (@laceyrod)

    Automattic Happiness Engineer

    Hi there,

    Do you mind sharing with us a copy of your System Status Report?

    Thanks!

    Thread Starter clkcrew

    (@clkcrew)

    @laceyrod

    AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Class ‘WC_Order_Item_Product’ not found in /home/rimdmwna/domains/gamestorge.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php:388\nStack trace:\n#0 /home/rimdmwna/domains/gamestorge.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(351): WC_Checkout->create_order_line_items(Object(WC_Order), Object(WC_Cart))\n#1 /home/rimdmwna/domains/gamestorge.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1067): WC_Checkout->create_order(Array)\n#2 /home/rimdmwna/domains/gamestorge.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(434): WC_Checkout->process_checkout()\n#3 /home/rimdmwna/domains/gamestorge.com/public_html/wp-includes/class-wp-hook.php(286): WC_AJAX::checkout(”)\n#4 /home/rimdmwna/domains/gamestorge.com/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)\n#5 /home/rimdmwna/domains/gamestorge.com/public_html/wp-includes/plugi…\n’, referer: https://gamestorge.com/odeme/

    Thread Starter clkcrew

    (@clkcrew)

    @laceyrod

    `
    ### WordPress Environment ###

    Home URL: https://gamestorge.com
    Site URL: https://gamestorge.com
    WC Version: 3.5.4
    Log Directory Writable: ?
    WP Version: 5.0.3
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: tr_TR
    External object cache: –

    ### Server Environment ###

    Server Info: Apache/2
    PHP Version: 7.2.13
    PHP Post Max Size: 64 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.19.7
    NSS/3.27.1

    SUHOSIN Installed: –
    MySQL Version: ? 5.5.59 – Asgari MySQL 5.6 sürümünü ?neriyoruz. Bkz.: WordPress gereklilikleri
    Max Upload Size: 64 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?

    ### Database ###

    WC Database Version: 3.5.4
    WC Database Prefix: mn_
    MaxMind GeoIP Database: ? MaxMind GeoIP Veritaban? bulunmuyor – Geo konumlama ?al??mayacak. https://dev.maxmind.com/geoip/geoip2/geolite2/ adresinden indirip ?uraya kendiniz kurabilirsiniz: . “Downloads” b?lümüne gelerek “GeoLite Country” sat?r?ndaki “MaxMind DB binary
    gzipped” dosyas?n? indiriniz. Lütfen s?k??t?r?lm?? GeoLite2-Country_xxxxxxxx.tar.gz dosyas?n? a?may? ve sadece GeoLite2-Country.mmdb dosyas?n? yüklemeyi unutmay?n?z.

    Toplam veritaban? boyutu: 2.89MB
    Veritaban? veri boyutu: 2.04MB
    Veritaban? indis boyutu: 0.85MB
    mn_woocommerce_sessions: Veri: 0.02MB + ?ndis: 0.02MB
    mn_woocommerce_api_keys: Veri: 0.02MB + ?ndis: 0.03MB
    mn_woocommerce_attribute_taxonomies: Veri: 0.02MB + ?ndis: 0.02MB
    mn_woocommerce_downloadable_product_permissions: Veri: 0.02MB + ?ndis: 0.05MB
    mn_woocommerce_order_items: Veri: 0.02MB + ?ndis: 0.02MB
    mn_woocommerce_order_itemmeta: Veri: 0.02MB + ?ndis: 0.03MB
    mn_woocommerce_tax_rates: Veri: 0.02MB + ?ndis: 0.06MB
    mn_woocommerce_tax_rate_locations: Veri: 0.02MB + ?ndis: 0.03MB
    mn_woocommerce_shipping_zones: Veri: 0.02MB + ?ndis: 0.00MB
    mn_woocommerce_shipping_zone_locations: Veri: 0.02MB + ?ndis: 0.03MB
    mn_woocommerce_shipping_zone_methods: Veri: 0.02MB + ?ndis: 0.00MB
    mn_woocommerce_payment_tokens: Veri: 0.02MB + ?ndis: 0.02MB
    mn_woocommerce_payment_tokenmeta: Veri: 0.02MB + ?ndis: 0.03MB
    mn_woocommerce_log: Veri: 0.02MB + ?ndis: 0.02MB
    mn_commentmeta: Veri: 0.02MB + ?ndis: 0.03MB
    mn_comments: Veri: 0.02MB + ?ndis: 0.09MB
    mn_links: Veri: 0.02MB + ?ndis: 0.02MB
    mn_options: Veri: 1.50MB + ?ndis: 0.02MB
    mn_postmeta: Veri: 0.02MB + ?ndis: 0.03MB
    mn_posts: Veri: 0.02MB + ?ndis: 0.06MB
    mn_termmeta: Veri: 0.02MB + ?ndis: 0.03MB
    mn_terms: Veri: 0.02MB + ?ndis: 0.03MB
    mn_term_relationships: Veri: 0.02MB + ?ndis: 0.02MB
    mn_term_taxonomy: Veri: 0.02MB + ?ndis: 0.03MB
    mn_usermeta: Veri: 0.02MB + ?ndis: 0.03MB
    mn_users: Veri: 0.02MB + ?ndis: 0.05MB
    mn_wc_download_log: Veri: 0.02MB + ?ndis: 0.03MB
    mn_wc_webhooks: Veri: 0.02MB + ?ndis: 0.02MB

    ### Post Type Counts ###

    customize_changeset: 1
    page: 6
    post: 2
    product: 1

    ### Security ###

    Secure connection (HTTPS): ?
    Ma?azan?z HTTPS kullanm?yor. HTTPS and SSL sertifikalar? hakk?nda bilgi al?n.
    Hide errors from visitors: ?

    ### Active Plugins (1) ###

    WooCommerce: (Automattic) – 3.5.4

    ### Settings ###

    API Enabled: –
    Force SSL: –
    Currency: TRY (?)
    Currency Position: left_space
    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)

    ### WC Pages ###

    Ma?aza giri? sayfas?: #5 – /
    Sepet sayfas?: #6 – /sepet/
    ?deme sayfas?: #7 – /odeme/
    Hesab?m sayfas?: #8 – /hesabim/
    ?artlar ve ko?ullar: ? Sayfa ayarlanmam??

    ### Theme ###

    Name: Twenty Nineteen
    Version: 1.2
    Author URL: https://www.ads-software.com/
    Child Theme: ? – WooCommerce’i kendinizin olu?turmad??? ana bir temada düzenliyorsan?z
    yard?mc? bir tema kullanman?z? ?neririz. Bkz.: Nas?l yard?mc? tema olu?turulur?

    WooCommerce Support: ?

    ### Templates ###

    Overrides: –

    Moderator Hari Shanker R

    (@harishanker)

    Hi @clkcrew

    I’m sorry to hear about the troubles you faced with the error message: Uncaught Error: Class ‘WC_Order_Item_Product’ not found.

    The first thing I tried testing was to see if I could replicate the problem in my local test site – I could not.

    Since you were able to replicate the problem with just the WooCommerce plugin installed, I suspect that there might be something that we might have originally missed, that could be triggering the problem here. Can you see if you have added any code in your functions.php file?

    Additionally, do you remember making any changes to the WooCommerce core, or the files that come with the WooCommerce plugin? If you do, I suggest that you reinstall WooCommerce from scratch in your site and try again to see if the problem persists (before you try this step: I recommend that you take a full backup of your site – both files and database).

    Let us know if the problem still persists after trying out these steps.

    Luminus Alabi

    (@luminus)

    Automattic Happiness Engineer

    Hi @clkcrew,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

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