Forum Replies Created

Viewing 15 replies - 1 through 15 (of 44 total)
  • Plugin Author LABCAT

    (@labcat)

    @mvt345

    Are you using shared hosting? or a VPS?

    Do you have access to the error logs?

    If so, can the actual error message from the error logs that is generated when you see the “critical error” message.

    Thread Starter LABCAT

    (@labcat)

    Hi there,

    Here is the output, nothing obvious standing out:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://testing.mysite.co.nz/wp
    Site address (URL): https://testing.mysite.co.nz
    WC Version: 4.4.1
    REST API Version: ? 1.0.15
    WC Blocks Version: ? 3.1.0
    Action Scheduler Version: ? 3.1.6
    WC Admin Version: ? 1.4.0
    Log Directory Writable: ?
    WP Version: ? 5.5 - There is a newer version of WordPress available (5.5.1)
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache/2.4.41 (Ubuntu)
    PHP Version: 7.4.3
    PHP Post Max Size: 8 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 
    SUHOSIN Installed: –
    MySQL Version: 8.0.21-0ubuntu0.20.04.4
    Max Upload Size: 2 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ? Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected.
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 4.4.1
    WC Database Prefix: wp_
    Total Database Size: 11.55MB
    Database Data Size: 8.62MB
    Database Index Size: 2.93MB
    wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_email_log: Data: 0.22MB + Index: 0.00MB + Engine InnoDB
    wp_fbv: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fbv_attachment_folder: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_frmt_form_entry: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_frmt_form_entry_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_frmt_form_views: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_hustle_entries: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_hustle_entries_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_hustle_modules: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_hustle_modules_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_hustle_tracking: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_options: Data: 2.08MB + Index: 0.08MB + Engine InnoDB
    wp_postmeta: Data: 0.38MB + Index: 0.27MB + Engine InnoDB
    wp_posts: Data: 1.45MB + Index: 0.06MB + Engine InnoDB
    wp_redirection_404: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_redirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_redirection_logs: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 0.08MB + Index: 0.03MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfconfig: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wffilemods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfhits: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wfknownfilelist: Data: 2.52MB + Index: 0.00MB + Engine InnoDB
    wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wflogins: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfstatus: Data: 0.09MB + Index: 0.03MB + Engine InnoDB
    wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpmfs_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_indexable: Data: 0.17MB + Index: 0.08MB + Engine InnoDB
    wp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_seo_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_seo_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 141
    customize_changeset: 2
    forminator_forms: 1
    nav_menu_item: 21
    page: 11
    post: 4
    product: 17
    product_variation: 86
    revision: 91
    testimonial: 26
    wp_block: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (15) ###
    
    Easy Testimonials: by Gold Plugins – 3.7
    Email Log: by Sudar – 2.4.2
    FileBird: by Ninja Team – 4.0.6
    Forminator: by WPMU DEV – 1.13.5
    Get Subpages List: by Umang Bhanvadia – 1.0.1
    Site Kit by Google: by Google – 1.12.0
    Mailgun: by Mailgun – 1.7.1
    Organic Widget Area Block: by Organic Themes – 1.1.1
    Redirection: by John Godley – 4.8
    WooCommerce Product Attachment: by theDotstore – 1.5.4 – Installed version not tested with active version of WooCommerce 4.4.1
    WooCommerce: by Automattic – 4.4.1 (update to version 4.5.2 is available)
    Wordfence Security: by Wordfence – 7.4.11
    Hustle: by WPMU DEV – 7.3.0
    WP Crontrol: by John Blackbourn & crontributors – 1.8.5
    YITH WooCommerce Catalog Mode: by YITH – 2.0.3
    
    ### Inactive Plugins (4) ###
    
    All-in-One WP Migration: by ServMask – 7.26
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.16.26
    
    Variation Swatches for WooCommerce: by RadiusTheme – 1.1.55 – Installed version not tested with active version of WooCommerce 4.4.1
    Yoast SEO: by Team Yoast – 14.8.1
    
    ### Must Use Plugins (3) ###
    
    Bedrock Autoloader: by Roots – 1.0.1
    Disallow Indexing: by Roots – 1.0.0
    Register Theme Directory: by Roots – 1.0.0
    
    ### 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: #12 - /products/
    Cart: ? Page ID is set
    but the page does not exist
    
    Checkout: ? Page ID is set
    but the page does not exist
    
    My account: #15 - /my-account/
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Version: 1.0.0
    Author URL: 
    Child Theme: ?
    Parent Theme Name: Storefront
    Parent Theme Version: 2.5.7 – 2.7.0 is available
    Parent Theme Author URL: https://woocommerce.com/
    WooCommerce Support: ?
    
    ### Action Scheduler ###
    
    Complete: 7
    Oldest: 2020-09-06 07:29:21 +0000
    Newest: 2020-09-15 05:41:06 +0000
    
    Pending: 1
    Oldest: 2020-09-15 06:25:31 +0000
    Newest: 2020-09-15 06:25:31 +0000
    
    

    I was actually able to get to work by replacing this line of code:
    $wcpoa_file_url_btn = '<a class="wcpoa_attachmentbtn" href="' . get_permalink() . $wcpoa_attachment_url_arg . 'attachment_id=' . $attachment_id . '&download_file=' . $wcpoa_attachments_id . '&wcpoa_attachment_order_id=' . $items_order_id . '" rel="nofollow">' . $wcpoa_att_btn . '</a>';

    With this line of code:
    $wcpoa_file_url_btn = '<a class="wcpoa_attachmentbtn" href="' . wp_get_attachment_url($attachment_id) .'" target="_blank" rel="nofollow"> ' . $wcpoa_att_btn . '</a>';

    Which does exactly what I want. However it would be nice to use your version of the plugin rather than maintaining a forked version.

    Thread Starter LABCAT

    (@labcat)

    Also you have the following php (7.4) error in the admin error:
    “Notice: Trying to access array offset on value of type null in /var/www/wordpress/azflooring/public/app/plugins/woo-product-attachment/admin/class-woocommerce-product-attachment-admin.php on line 509”

    Hi there,

    I have the same issue. How do I resolve this?

    Plugin Author LABCAT

    (@labcat)

    I have implemented a fix for this bug in tag 1.0.2.

    Plugin Author LABCAT

    (@labcat)

    Great thanks. I can confirm that you have found a bug. It is something to do with the fact that your JS file has the same name as the folder/zip file.

    I found that if you change the name of the JS file (to script.js for exmaple) that it worked, here is an example zip that worked for me:
    ImageRow.zip

    I will do some further investigation after the weekend to see if I can find an easy fix for the issue.

    Plugin Author LABCAT

    (@labcat)

    Could you please send me your zip file so I can do some testing.

    Plugin Author LABCAT

    (@labcat)

    Hi there,

    Could you please provide the following so I can see what the issue is:
    1. You version of WordPress
    2. Some screenshots of the process so I can see where the error potentially occurred

    Thread Starter LABCAT

    (@labcat)

    @rjose56 this is actually more an issue with WooCommerce not this plugin.

    To make it work in this plugin would required significant effort as you need to rewrite the checkout.js file to work on the Pay For Order page.

    Thread Starter LABCAT

    (@labcat)

    Yeah the ‘Pay for Order’ endpoint can have multiple payment methods. For the site I am working on there is bank transfer and stripe, obviously we want to charge an extra 3% for stripe.

    I have writen some code to force customers to select their payment option before arriving at the ‘Pay for Order’ page. If they select ‘credit’ I add a fee to the order (using php). Unfortunately the code I have written will only work for the site it has been written for.

    Ideally I would rewrite the checkout.js (from woocommerce) script to work on the pay for order page. However that would take a fair amount of effort so will hopefully someone at woo-commerce will do it in the future.

    • This reply was modified 5 years, 6 months ago by LABCAT.
    Thread Starter LABCAT

    (@labcat)

    Great thanks for the Phillip, I have got it working well now.

    Thank you very much for your help.

    Plugin Author LABCAT

    (@labcat)

    Would you be able to provide the package that you are trying to upload?

    Plugin Author LABCAT

    (@labcat)

    Do you get an error message? If so, could you let me know what it is.

    Can you also please try to upload the file directly to the media library:
    https://bendilicious.com/wp-admin/upload.php

    and let me know if there are any errors when doing so or if successful.

    Plugin Author LABCAT

    (@labcat)

    Hi there,

    I have had look and can definitely see there is a problem when a visitor first comes to the page (if reloaded then it seems to work fine).

    I can’t recreate the issue on my own installation of the plugin so is a bit difficult to see how to resolve the issue.

    Anyway, I have made a small update to the plugin that may help resolve the issue but I’m not 100% sure. If you download version 1.2.1 it may work better for you.

    This plugin is actually getting a bit outdated and could really do with a big update, especially now WordPress 5 is here (this is definitely not Gutenberg compatiable). Hopefully I can find some time in the future to an update of this plugin.

    Plugin Author LABCAT

    (@labcat)

    Yeah, the documentation could do with some improvement, I’ll have a think about how to make this clear.

    Also, agree the draft functionality is a bit pointless, I’ll see if there is a way to remove this.

Viewing 15 replies - 1 through 15 (of 44 total)