Forum Replies Created

Viewing 14 replies - 16 through 29 (of 29 total)
  • Thread Starter phatman

    (@phatman)

    https://snipboard.io/4ovGtj.jpg

    Yes, same error with storefront theme, WooCommerce and Square plugin active.

    Thread Starter phatman

    (@phatman)

    The plugin has been working fine with my theme. The error is occurring with both WordPress 6.0.3 and 6.1.1

    The error only shows on Woocommerce > Settings > Square page. However, orders become perpetually pending.

    …switching to the storefront theme makes no difference

    • This reply was modified 3 years, 6 months ago by phatman.
    Thread Starter phatman

    (@phatman)

    WordPress Environment
    
    WordPress address (URL): https://www.dubberware.com
    Site address (URL): https://www.dubberware.com
    WC Version: 7.2.2
    REST API Version: ✔</img> 7.2.2
    WC Blocks Version: ✔</img> 8.9.2
    Action Scheduler Version: ✔</img> 3.4.0
    Log Directory Writable: ✔</img>
    WP Version: 6.1.1
    WP Multisite: –
    WP Memory Limit: 1 GB
    WP Debug Mode: ✔</img>
    WP Cron: ✔</img>
    Language: en_GB
    External object cache: –
    
    Server Environment
    
    Server Info: Apache
    PHP Version: 8.0.26
    PHP Post Max Size: 15 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.86.0
    OpenSSL/1.1.1s
    
    SUHOSIN Installed: –
    MySQL Version: 10.3.37-MariaDB
    Max Upload Size: 15 MB
    Default Timezone is UTC: ✔</img>
    fsockopen/cURL: ✔</img>
    SoapClient: ✔</img>
    DOMDocument: ✔</img>
    GZip: ✔</img>
    Multibyte String: ✔</img>
    Remote Post: ✔</img>
    Remote Get: ✔</img>
    
    Database
    
    WC Database Version: 7.2.2
    WC Database Prefix: dub_
    Total Database Size: 58.36MB
    Database Data Size: 39.01MB
    Database Index Size: 19.35MB
    dub_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB
    dub_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dub_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dub_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    dub_woocommerce_order_items: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
    dub_woocommerce_order_itemmeta: Data: 0.31MB + Index: 0.27MB + Engine InnoDB
    dub_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    dub_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dub_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dub_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dub_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dub_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dub_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dub_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dub_actionscheduler_actions: Data: 3.52MB + Index: 1.48MB + Engine InnoDB
    dub_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dub_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dub_actionscheduler_logs: Data: 3.52MB + Index: 0.84MB + Engine InnoDB
    dub_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dub_comments: Data: 0.20MB + Index: 0.22MB + Engine InnoDB
    dub_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dub_options: Data: 4.13MB + Index: 0.30MB + Engine InnoDB
    dub_postmeta: Data: 16.55MB + Index: 11.03MB + Engine InnoDB
    dub_posts: Data: 2.52MB + Index: 0.89MB + Engine InnoDB
    dub_termmeta: Data: 0.11MB + Index: 0.13MB + Engine InnoDB
    dub_terms: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    dub_term_relationships: Data: 2.52MB + Index: 1.52MB + Engine InnoDB
    dub_term_taxonomy: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    dub_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dub_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dub_usermeta: Data: 1.52MB + Index: 0.09MB + Engine InnoDB
    dub_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    dub_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dub_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dub_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dub_wc_customer_lookup: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    dub_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dub_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dub_wc_order_product_lookup: Data: 0.06MB + Index: 0.06MB + Engine InnoDB
    dub_wc_order_stats: Data: 0.05MB + Index: 0.05MB + Engine InnoDB
    dub_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    dub_wc_product_attributes_lookup: Data: 0.19MB + Index: 0.19MB + Engine MyISAM
    dub_wc_product_download_directories: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    dub_wc_product_meta_lookup: Data: 1.52MB + Index: 1.27MB + Engine InnoDB
    dub_wc_rate_limits: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    dub_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dub_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dub_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    dub_wfpklist_template_data: Data: 0.03MB + Index: 0.00MB + Engine InnoDB
    dub_woobe_history: Data: 0.30MB + Index: 0.22MB + Engine MyISAM
    dub_woobe_history_bulk: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    dub_woocommerce_square_customers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dub_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dub_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dub_xyz_ips_short_code: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dub_yith_wapo_addons: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dub_yith_wapo_blocks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dub_yith_wapo_groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dub_yith_wapo_types: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    dub_yith_wccl_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    
    Post Type Counts
    
    attachment: 573
    chart: 1
    custom_css: 1
    customize_changeset: 1
    ml-slide: 15
    ml-slider: 4
    nav_menu_item: 43
    page: 18
    post: 2
    product: 323
    product_variation: 5473
    revision: 7
    shop_order: 197
    shop_order_refund: 1
    wcpa_pt_forms: 7
    wp_global_styles: 1
    
    Security
    
    Secure connection (HTTPS): ✔</img>
    Hide errors from visitors: ✔</img>
    
    Active Plugins (26)
    
    AddToAny Share Buttons: by AddToAny – 1.8.5
    Facebook for WooCommerce: by Facebook – 3.0.7
    Homepage Control: by WooThemes – 2.0.3
    Insert PHP Code Snippet: by xyzscripts.com – 1.3.3
    Limit log in attempts reloaded: by Limit log in attempts reloaded – 2.25.10
    MetaSlider: by MetaSlider – 3.28.2
    WooCommerce PDF Invoices, Packing Slips, Delivery Notes and Shipping Labels: by WebToffee – 4.0.3
    Product Size Chart for Woocommerce: by Ciobanu George – 1.1.3
    PW WooCommerce Bulk Edit: by Pimwick
    LLC – 2.108
    
    Storefront Hamburger Menu: by WooCommerce – 1.2.2
    Category Order and Taxonomy Terms Order: by Nsp-Code – 1.7.4
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.22.24
    
    WooCommerce Weight Based Shipping: by weightbasedshipping.com – 5.4.0
    Woo Address Printer: by Steve Tristram ~ IMAGE ROOM – 0.2
    BEAR – Bulk Editor and Products Manager Professional for WooCommerce: by realmag777 – 1.1.3
    WooCommerce Custom Product Addons (Free): by Acowebs – 2.7.1
    Woo Quick View: by Arshid – 1.1.0
    Variation Swatches for WooCommerce: by Emran Ahmed – 2.0.17
    WooCommerce PayPal Payments: by WooCommerce – 2.0.1
    WooCommerce Shipping & Tax: by WooCommerce – 2.1.1
    WooCommerce Square: by WooCommerce – 3.4.2
    WooCommerce: by Automattic – 7.2.2
    WP Mail SMTP: by WPForms – 3.7.0
    WP-Optimize - Clean, Compress, Cache: by David Anderson
    Ruhani Rabin
    Team Updraft – 3.2.10
    
    WP Post Popup: by Allure Web Solutions – 3.7.1
    YITH WooCommerce Product Add-ons & Extra Options: by YITH – 2.17.0
    
    Inactive Plugins (0)
    
    Dropin Plugins (2)
    
    advanced-cache.php: advanced-cache.php
    maintenance.php: maintenance.php
    
    Settings
    
    API Enabled: –
    Force SSL: –
    Currency: GBP (£)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: simple (simple)
    grouped (grouped)
    variable (variable)
    external (external)
    
    Taxonomies: Product Visibility: exclude-from-search (exclude-from-search)
    exclude-from-catalog (exclude-from-catalog)
    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: –
    Order datastore: WC_Order_Data_Store_CPT
    
    WC Pages
    
    Shop base: #7189 - /shop/
    Basket: #7191 - /basket/
    Checkout: #7193 - /checkout/
    My account: #7195 - /account/
    Terms and conditions: #7187 - /terms-conditions/
    
    Theme
    
    Name: Woo Storefront Child Theme
    Version: 1.0.1
    Author URL:
    Child Theme: ✔</img>
    Parent Theme Name: Storefront
    Parent Theme Version: 4.2.0
    Parent Theme Author URL: https://woocommerce.com/
    WooCommerce Support: ✔</img>
    
    Templates
    
    Overrides: –
    
    WooCommerce PayPal Payments
    
    Onboarded: ✔</img>
    Shop country code: GB
    WooCommerce currency supported: ✔</img>
    Advanced Card Processing available in country: ✔</img>
    Pay Later messaging available in country: ✔</img>
    Webhook status: ✔</img>
    Vault enabled: ✔</img>
    Logging enabled: –
    Reference Transactions: –
    Used PayPal Checkout plugin: ✔</img>
    Tracking enabled: –
    
    Square
    
    Environment: Production
    Tokenization Enabled: –
    Debug Mode: Off
    
    Admin
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    experimental-products-task
    experimental-import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    multichannel-marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    woo-mobile-welcome
    wc-pay-promotion
    wc-pay-welcome-page
    
    Disabled Features: minified-js
    new-product-management-experience
    settings
    
    Daily Cron: ✔</img> Next scheduled: 2023-01-11 09:44:30 +00:00
    Options: ✔</img>
    Notes: 9
    Onboarding: completed
    
    Action Scheduler
    
    Complete: 1,256
    Oldest: 2022-12-10 16:30:57 +0000
    Newest: 2023-01-10 15:40:32 +0000
    
    Failed: 6,197
    Oldest: 2021-07-08 20:12:16 +0100
    Newest: 2023-01-10 15:40:32 +0000
    
    Pending: 5
    Oldest: 2023-01-10 21:01:02 +0000
    Newest: 2023-01-16 15:28:52 +0000
    
    Status report information
    
    Generated at: 2023-01-10 16:06:41 +00:00
    `
    Thread Starter phatman

    (@phatman)

    Just got this email…

    Hi!

    Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

    In this case, WordPress caught an error with one of your plugins, WooCommerce Square.

    Following…

    phatman

    (@phatman)

    I don’t think anyone knows why this is happening 🙁

    BTW your key should be page-id not ID

    • This reply was modified 4 years ago by phatman.
    Thread Starter phatman

    (@phatman)

    OK, it looks like the GET variables are being urlencoded – i.e. & is bing passed as & along the command line. Hence only the first variable is being passed.Anyone know why this is happening?

    phatman

    (@phatman)

    I’m getting the same problem even with both parameters checked! No GET or POST being passed to redirected page 🙁

    Any update on this?

    Thread Starter phatman

    (@phatman)

    I could insert other basic PHP code like ‘echo’ and it saves fine but anything with $_ and it wouldn’t save it just goes to a 404 page.

    Today the plugin is crashing WordPress so I had to deactivate it. I’m using WordPress 6 and PHP 8

    Thread Starter phatman

    (@phatman)

    OK, I have sorted it with:

    ‘expandCurrentYear=0&expandCurrentMonth=0’

    But now the years and months don’t expanded and contract.

    https://www.pablosbrainjourney.com/blog/

    Strange.

    Thread Starter phatman

    (@phatman)

    Hmmm, it looks like the cpabc_appointment_calendars_data table table is written to after a Completed IPN response from PayPal? So, I need to set up Sandbox to test out?

    PHP 7.0 is deprecated, 7.4 is the latest. I would imagine this plugin was developed using version 7.0 at least. The error is probably more a warning.

    Thread Starter phatman

    (@phatman)

    OK, I had a look at the code. You need to edit the LearnPress plugin to add a sticky logout to the top of the lefthand menu:

    /wp-content/plugins/learnpress/templates/profile/profile-cover.php

    Ideally to prevent it being over written copy this page and put it in your child theme folder, if you have one, in /learnpress/profile/ folder (…or backup the page!)

    Now edit profile-cover.php add the following after line 22 (i.e. after the avatar class div)

    <div style="margin-left:1em"><?php echo sprintf( __( '%s', 'learnpress' ), sprintf( '<a href="%s">%s</a>', $profile->logout_url(), __( 'Logout', 'learnpress' ) ) ); ?></div>

    Sesason to suit and serve warm 🙂

    • This reply was modified 5 years, 7 months ago by phatman.
    Thread Starter phatman

    (@phatman)

    What do you mean this function is not available now? It’s a basic security function lol.

    edit. You just need to put it in the Profile menu

    • This reply was modified 5 years, 7 months ago by phatman.
Viewing 14 replies - 16 through 29 (of 29 total)