Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter charliefishtank

    (@charliefishtank)

    Hey @carolm29 , thanks for getting back so fast.

    Reverting back to an older version works great with no errors! I assume that means something changed in the latest update that causes the issue? Either way, I have duplicated the site to a staging site for testing with the reports below.I can turn on errors on the frontend as well if that helps or you can see why we spotted the issue here: https://wordpress-1253792-4837132.cloudwaysapps.com/product/lambswool-beanie-bright-red/

    Here is the System Status Report:

    WordPress Environment

    WordPress address (URL): https://wordpress-1253792-4837132.cloudwaysapps.com
    Site address (URL): https://wordpress-1253792-4837132.cloudwaysapps.com
    WC Version: 9.2.3
    Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.
    Action Scheduler Version: ? 3.8.1
    Log Directory Writable: ?
    WP Version: 6.6.1
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: –
    Language: en_GB
    External object cache: ? Server Environment

    Server Info: Apache/2.4.62 (Debian)
    PHP Version: 8.2.18
    PHP Post Max Size: 100 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 10000
    cURL Version: 7.74.0
    OpenSSL/1.1.1w

    SUHOSIN Installed: –
    MySQL Version: 10.5.24-MariaDB-1:10.5.24+maria~deb11-log
    Max Upload Size: 100 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ? Database

    WC Database Version: 9.2.3
    WC Database Prefix: gs_
    Total Database Size: 806.12MB
    Database Data Size: 388.83MB
    Database Index Size: 417.29MB
    gs_woocommerce_sessions: Data: 7.52MB + Index: 0.27MB + Engine InnoDB
    gs_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    gs_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    gs_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    gs_woocommerce_order_items: Data: 4.52MB + Index: 1.52MB + Engine InnoDB
    gs_woocommerce_order_itemmeta: Data: 19.55MB + Index: 21.06MB + Engine InnoDB
    gs_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    gs_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    gs_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    gs_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    gs_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    gs_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    gs_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    gs_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    gs_actionscheduler_actions: Data: 8.52MB + Index: 9.59MB + Engine InnoDB
    gs_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    gs_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    gs_actionscheduler_logs: Data: 5.52MB + Index: 5.03MB + Engine InnoDB
    gs_bv_fw_requests: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    gs_bv_ip_store: Data: 0.28MB + Index: 0.20MB + Engine InnoDB
    gs_bv_lp_requests: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    gs_commentmeta: Data: 0.30MB + Index: 0.30MB + Engine InnoDB
    gs_comments: Data: 21.55MB + Index: 18.09MB + Engine InnoDB
    gs_gf_draft_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    gs_gf_entry: Data: 0.19MB + Index: 0.03MB + Engine InnoDB
    gs_gf_entry_meta: Data: 1.52MB + Index: 0.44MB + Engine InnoDB
    gs_gf_entry_notes: Data: 0.14MB + Index: 0.03MB + Engine InnoDB
    gs_gf_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    gs_gf_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    gs_gf_form_revisions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    gs_gf_form_view: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    gs_gf_rest_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    gs_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    gs_options: Data: 1.41MB + Index: 0.09MB + Engine InnoDB
    gs_pmxe_exports: Data: 0.22MB + Index: 0.00MB + Engine InnoDB
    gs_pmxe_google_cats: Data: 0.39MB + Index: 0.00MB + Engine InnoDB
    gs_pmxe_posts: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    gs_pmxe_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    gs_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    gs_pmxi_hash: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    gs_pmxi_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    gs_pmxi_images: Data: 0.34MB + Index: 0.00MB + Engine InnoDB
    gs_pmxi_imports: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    gs_pmxi_posts: Data: 14.55MB + Index: 0.00MB + Engine InnoDB
    gs_pmxi_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    gs_postmeta: Data: 117.66MB + Index: 112.39MB + Engine InnoDB
    gs_posts: Data: 22.52MB + Index: 7.06MB + Engine InnoDB
    gs_termmeta: Data: 0.19MB + Index: 0.19MB + Engine InnoDB
    gs_terms: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    gs_term_relationships: Data: 1.52MB + Index: 0.44MB + Engine InnoDB
    gs_term_taxonomy: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    gs_usermeta: Data: 71.61MB + Index: 75.28MB + Engine InnoDB
    gs_users: Data: 1.52MB + Index: 0.95MB + Engine InnoDB
    gs_wcs_payment_retries: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    gs_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
    gs_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
    gs_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    gs_wc_customer_lookup: Data: 1.52MB + Index: 0.50MB + Engine InnoDB
    gs_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    gs_wc_gpf_render_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    gs_wc_orders: Data: 5.52MB + Index: 7.41MB + Engine InnoDB
    gs_wc_orders_meta: Data: 56.59MB + Index: 135.58MB + Engine InnoDB
    gs_wc_order_addresses: Data: 5.52MB + Index: 7.06MB + Engine InnoDB
    gs_wc_order_coupon_lookup: Data: 0.23MB + Index: 0.28MB + Engine InnoDB
    gs_wc_order_operational_data: Data: 2.52MB + Index: 1.94MB + Engine InnoDB
    gs_wc_order_product_lookup: Data: 3.52MB + Index: 6.06MB + Engine InnoDB
    gs_wc_order_stats: Data: 2.52MB + Index: 2.53MB + Engine InnoDB
    gs_wc_order_tax_lookup: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    gs_wc_product_attributes_lookup: Data: 0.13MB + Index: 0.11MB + Engine InnoDB
    gs_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    gs_wc_product_meta_lookup: Data: 0.14MB + Index: 0.39MB + Engine InnoDB
    gs_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    gs_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    gs_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    gs_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    gs_woocommerce_gc_activity: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    gs_woocommerce_gc_cards: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    gs_woocommerce_gc_cardsmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    gs_woocommerce_gpf_google_taxonomy: Data: 1.52MB + Index: 0.13MB + Engine InnoDB
    gs_woocommerce_prl_deploymentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    gs_woocommerce_prl_deployments: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    gs_woocommerce_prl_frequencies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    gs_woocommerce_prl_generator_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    gs_woocommerce_prl_tracking_conversions: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    gs_yoast_indexable: Data: 1.52MB + Index: 0.55MB + Engine InnoDB
    gs_yoast_indexable_hierarchy: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
    gs_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    gs_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    gs_yoast_prominent_words: Data: 0.14MB + Index: 0.28MB + Engine InnoDB
    gs_yoast_seo_links: Data: 1.52MB + Index: 0.33MB + Engine InnoDB Post Type Counts

    acf-field: 105
    acf-field-group: 16
    acf-taxonomy: 2
    attachment: 2506
    global_product_addon: 5
    nav_menu_item: 95
    page: 27
    post: 183
    product: 294
    product_variation: 845
    review: 6
    revision: 1098
    shop_coupon: 79
    shop_order: 17169
    shop_order_refund: 453
    shop_subscription: 97
    wp_font_face: 33
    wp_font_family: 12
    wp_global_styles: 1
    wp_navigation: 1
    wp_template: 2 Security

    Secure connection (HTTPS): ?
    Hide errors from visitors: ? Active Plugins (32)

    Gravity Forms: by Gravity Forms – 2.8.17
    ACF Content Analysis for Yoast SEO: by Thomas Kr?ftner
    ViktorFroberg
    marol87
    pekz0r
    angrycreative
    Team Yoast – 3.1

    Advanced Custom Fields: Image Aspect Ratio Crop: by Johannes Siipola – 6.0.3
    Advanced Custom Fields PRO: by WP Engine – 6.3.6
    GTM4WP – A Google Tag Manager (GTM) plugin for WordPress: by Thomas Geiger – 1.20.2
    Facebook for WooCommerce: by Facebook – 3.2.7
    Klarna Checkout for WooCommerce: by Klarna – 2.12.9
    Klaviyo: by Klaviyo
    Inc. – 3.3.5

    MalCare WordPress Security Plugin – Malware Scanner, Cleaner, Security Firewall: by MalCare Security – 5.68
    Object Cache Pro: by Rhubarb Group – 1.21.2
    Pinterest for WooCommerce: by WooCommerce – 1.4.7
    Post Duplicator: by Metaphor Creations – 2.35
    Post Types Order: by Nsp Code – 2.2.6
    Safe SVG: by 10up – 2.2.6
    Simple Page Ordering: by 10up – 2.7.2
    Checkout Field Editor for WooCommerce: by ThemeHigh – 2.0.3
    Product Feed ELITE for WooCommerce: by AdTribes.io – 4.9.4
    WooCommerce.com Update Manager: by Automattic – 1.0.3
    Variation Swatches for WooCommerce: by Emran Ahmed – 2.1.1
    Currency Converter for WooCommerce: by Kestrel – 2.2.3 (update to version 2.2.4 is available)
    WooCommerce Stripe Gateway: by WooCommerce – 8.6.1
    Woo Gift Cards: by Woo – 2.0.2
    WooCommerce PayPal Payments: by WooCommerce – 2.8.3
    WooCommerce Product Add-Ons: by Woo – 7.0.2
    WooCommerce Google Product Feed: by Ademti Software Ltd. – 11.0.12
    Woo Product Recommendations: by Woo – 4.0.2
    WooCommerce Subscriptions: by WooCommerce – 6.6.1
    WooCommerce: by Automattic – 9.2.3
    Yoast SEO Premium: by Team Yoast – 23.3
    Yoast SEO: by Team Yoast – 23.3
    Yoast SEO: WooCommerce: by Team Yoast – 16.2 Inactive Plugins (6)

    Breeze: by Cloudways – 2.1.13
    Klaviyo Toolkit: by Tribe Interactive
    LLC – 1.8.2

    Pixel Manager for WooCommerce: by SweetCode – 1.43.5
    Product Feed PRO for WooCommerce: by AdTribes.io – 13.3.6
    WebP Express: by Bj?rn Rosell – 0.25.9
    WP Mail SMTP: by WP Mail SMTP – 4.1.1 Dropin Plugins ()

    object-cache.php: Object Cache Pro (Drop-in) Settings

    Legacy API Enabled: –
    Force SSL: –
    Currency: GBP (£)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    subscription (subscription)
    variable (variable)
    variable subscription (variable-subscription)

    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: ?
    Enforce Approved Product Download Directories: ?
    HPOS feature enabled: ?
    Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore
    HPOS data sync enabled: ? Logging

    Enabled: ?
    Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2
    Retention period: 30 days
    Level threshold: –
    Log directory size: 6 MB WC Pages

    Shop base: #6 – /shop/
    Basket: #7 – /cart/ – Contains the [woocommerce_cart] shortcode
    Checkout: #8 – /checkout/ – Contains the [woocommerce_checkout] shortcode
    My account: #9 – /my-account/
    Terms and conditions: #3 – /termsandconditions/ Theme

    Name: Fishtank Theme
    Version: 10.4.0
    Author URL: https://fishtankagency.com/
    Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build
    personally we recommend using a child theme. See: How to create a child theme

    WooCommerce Support: ? Templates

    Overrides: gs-theme/resources/views/woocommerce/archive-product.blade.php version 3.4.0 is out of date. The core version is 8.6.0
    gs-theme/resources/views/woocommerce/global/wrapper-end.blade.php
    gs-theme/resources/views/woocommerce/global/wrapper-start.blade.php
    gs-theme/resources/views/woocommerce/single-product.blade.php

    Outdated Templates: ?

                        Learn how to update

    Subscriptions

    WCS_DEBUG: ? No
    Subscriptions Mode: ? Staging
    Subscriptions Live URL: https://www.genevievesweeney.com
    Subscriptions-core Library Version: 7.4.2
    Subscription Statuses: wc-active: 71
    wc-cancelled: 16
    wc-on-hold: 1
    wc-pending-cancel: 9

    WooCommerce Account Connected: ? Yes
    Active Product Key: ? Yes
    Custom Retry Rules: ? No
    Custom Retry Rule Class: ? No
    Custom Raw Retry Rule: ? No
    Custom Retry Rule: ? No
    Retries Migration Status: ? Completed
    Report Cache Enabled: ? Yes
    Cache Update Failures: ? 0 failure Store Setup

    Country / State: United Kingdom (UK) Subscriptions by Payment Gateway

    Stripe: wc-active: 71
    wc-cancelled: 16
    wc-on-hold: 1
    wc-pending-cancel: 9 Payment Gateway Support

    Stripe: products
    refunds
    tokenization
    add_payment_method
    subscriptions
    subscription_cancellation
    subscription_suspension
    subscription_reactivation
    subscription_amount_changes
    subscription_date_changes
    subscription_payment_method_change
    subscription_payment_method_change_customer
    subscription_payment_method_change_admin
    multiple_subscriptions

    Klarna Checkout: products
    subscriptions
    subscription_cancellation
    subscription_suspension
    subscription_reactivation
    subscription_amount_changes
    subscription_date_changes
    multiple_subscriptions
    subscription_payment_method_change_customer
    subscription_payment_method_change_admin
    upsell

    PayPal: products
    refunds
    tokenization
    add_payment_method
    subscriptions
    subscription_cancellation
    subscription_suspension
    subscription_reactivation
    subscription_amount_changes
    subscription_date_changes
    subscription_payment_method_change
    subscription_payment_method_change_customer
    subscription_payment_method_change_admin
    multiple_subscriptions
    gateway_scheduled_payments WooCommerce Google Product Feed feeds

    3c75c6222f36ab82: Google merchant centre product feed
      Type: google
      Category filter: –
      Categories: – WooCommerce Google Product Feed options

    Include variations in feed: Enabled
    Send “item group ID”: Enabled
    Expanded schema markup: –
    Debug key: c2416928-cbf1-4e4d-b30a-5643484de500 WooCommerce Google Product Feed fields

    Availability (backordered products): Defaults to “in stock”.
    Availability (in stock products): Defaults to “in stock”.
    Availability (out of stock products): Defaults to “out of stock”.
    Brand: Defaults to “Genevieve Sweeney”.
    Colour: Pre-populates from pa_colours taxonomy.
    Condition: Defaults to “new”.
    Google Product Category: Defaults to “Clothing & Accessories”.
    Manufacturer Part Number (MPN):
    Product Type: Pre-populates from product_cat taxonomy.
    Product description: Main product description (full preferred) plus variation description
    Size: Pre-populates from pa_size taxonomy.
    Size system: Defaults to “UK”.
    Title: Pre-populates from product product_title. WooCommerce Google Product Feed DB status

    Database version: 17
    Active database version: 17
    wc_gpf_render_cache: Empty
    woocommerce_gpf_google_taxonomy (en-GB): 5595 items Gift Cards

    Database Version: 2.0.2
    Loopback Test: ?
    Task Queueing Test: ? Klarna Checkout Request Log

    2024-07-10 09:42:59: KCO create order
    Response code: 400
    Response message: {“error_code”:”BAD_REQUEST”,”error_messages”:[“Bad format: order_lines.subscription.interval”],”correlation_id”:”4f6b8c86-3d3e-46cb-8246-d1b460e3d413″,”service_version”:”SNAPSHOT”}
    Correlation ID: 4f6b8c86-3d3e-46cb-8246-d1b460e3d413

    2024-07-10 05:26:43: KCO create order
    Response code: 400
    Response message: {“error_code”:”BAD_REQUEST”,”error_messages”:[“Bad format: order_lines.subscription.interval”],”correlation_id”:”cfe72850-700f-440d-8270-5deb278f7cc3″,”service_version”:”SNAPSHOT”}
    Correlation ID: cfe72850-700f-440d-8270-5deb278f7cc3

    2024-06-13 22:12:54: KCO update order
    Response code: 403
    Response message: {“error_code”:”READ_ONLY_ORDER”,”error_messages”:[“Resource is read-only”],”correlation_id”:”bc818d87-b5b8-487c-ac41-997220364326″,”service_version”:”SNAPSHOT”}
    Correlation ID: bc818d87-b5b8-487c-ac41-997220364326

    2024-05-16 13:31:34: KCO test credentials
    Response code: 400
    Response message: {“error_code”:”BAD_VALUE”,”error_messages”:[“Bad value: merchant_urls.terms (must be a valid http or https URI)”],”correlation_id”:”4fe8fca4-ff3a-40ff-a48d-c8beb4c9f1a6″,”service_version”:”SNAPSHOT”}
    Correlation ID: 4fe8fca4-ff3a-40ff-a48d-c8beb4c9f1a6 WooCommerce PayPal Payments

    Onboarded: ?
    Shop country code: GB
    WooCommerce currency supported: ?
    Advanced Card Processing available in country: ?
    Pay Later messaging available in country: ?
    Webhook status: –
    PayPal Vault enabled: –
    ACDC Vault enabled: –
    Logging enabled: –
    Reference Transactions: –
    Used PayPal Checkout plugin: –
    Subscriptions Mode: PayPal Subscriptions Admin

    Enabled Features: activity-panels
    analytics
    product-block-editor
    coupons
    core-profiler
    customize-store
    customer-effort-score-tracks
    import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    pattern-toolkit-full-composability
    product-custom-fields
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    printful
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    woo-mobile-welcome
    wc-pay-promotion
    wc-pay-welcome-page
    launch-your-store

    Disabled Features: experimental-blocks
    minified-js
    product-pre-publish-modal
    settings
    async-product-editor-category-field
    product-editor-template-system

    Daily Cron: ? Next scheduled: 2024-08-29 12:11:10 +01:00
    Options: ?
    Notes: 92
    Onboarding: skipped Action Scheduler

    Canceled: 4
    Oldest: 2024-08-01 16:25:05 +0100
    Newest: 2024-08-14 09:27:45 +0100

    Complete: 21,236
    Oldest: 2024-07-29 11:00:51 +0100
    Newest: 2024-08-29 11:00:20 +0100

    Failed: 185
    Oldest: 2023-12-04 12:12:22 +0000
    Newest: 2024-08-29 10:26:57 +0100

    Pending: 88
    Oldest: 2024-08-29 11:01:20 +0100
    Newest: 2024-11-08 14:30:08 +0000 Product Recommendations

    Database Version: 4.0.2
    Loopback Test: ?
    Task Queueing Test: ?
    Page Cache Test: No cache detected Status report information

    Generated at: 2024-08-29 11:01:07 +01:00

    Here is the Fatal Errors report:

    2024-08-29T09:28:50+00:00Critical Uncaught Error: Call to a member function get_id() on bool in /home/1253792.cloudwaysapps.com/wgnbahtzvx/public_html/wp-content/plugins/pinterest-for-woocommerce/src/Tracking.php:94 Additional context{ "error": { "type": 1, "file": "/home/1253792.cloudwaysapps.com/wgnbahtzvx/public_html/wp-content/plugins/pinterest-for-woocommerce/src/Tracking.php", "line": 94 }, "backtrace": [ "", "#0 /home/1253792.cloudwaysapps.com/wgnbahtzvx/public_html/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Pinterest\Tracking->handle_page_visit()", "#1 /home/1253792.cloudwaysapps.com/wgnbahtzvx/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()", "#2 /home/1253792.cloudwaysapps.com/wgnbahtzvx/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()", "#3 /home/1253792.cloudwaysapps.com/wgnbahtzvx/public_html/wp-includes/general-template.php(3081): do_action()", "#4 /home/1253792.cloudwaysapps.com/wgnbahtzvx/public_html/wp-content/themes/gs-theme/index.php(45): wp_footer()", "#5 /home/1253792.cloudwaysapps.com/wgnbahtzvx/public_html/wp-includes/template-loader.php(106): include('...')", "#6 /home/1253792.cloudwaysapps.com/wgnbahtzvx/public_html/wp-blog-header.php(19): require_once('...')", "#7 /home/1253792.cloudwaysapps.com/wgnbahtzvx/public_html/index.php(17): require('...')", "#8 {main}", "thrown" ] }

    Let me know what I am missing and how we can fix or if we need to keep using the older version of the plugin etc.

    Thread Starter charliefishtank

    (@charliefishtank)

    Hi @charlottedrb – great question, I should have added that part!

    Using \Roots\view causes it to look in the resources/views folder so I pass in “[folder-name]/[file-name]” but exclude the .blade.php part i.e. blocks/hero so it would output:

    echo \Roots\view(‘blocks/hero’, [‘is_preview’ => $is_preview, ‘field’ => $field])->render();

    Thread Starter charliefishtank

    (@charliefishtank)

    Hey Konrad,

    This was a brilliant suggestion, should I be using both of those functions (filter and action) they both seem to work perfectly on their own just not sure which one to use?

    For future blade/sage 10 users here is the adaption of the above filter to work with blade rendering…

    add_filter('acfe/flexible/render/template', function ($file, $field, $layout, $is_preview) {
    
    	if (\View::exists($file)) {
    		echo \Roots\view($file, ['field' => $field, 'layout' => $layout, 'is_preview' => $is_preview])->render();
    	}
    
    	return false;
    }, 10, 4);

    Please do let me know if others have alternative methods/syntax that works better

Viewing 3 replies - 1 through 3 (of 3 total)