• Resolved galvinphuong

    (@galvinphuong)


    Hello,

    I was using the manual UPCP function to update product information until I clicked the red ‘save changes button’. At which point, I get a page saying ‘The site is experiencing technical difficulties. Please check your site admin email inbox for instructions”. However, I the changes I made to the product did save as I can see them on the website.

    When I go to my admin email I see this error log:
    Error Details
    =============
    An error of type E_ERROR was caused in line 592 of the file /home/galvin/public_html/wp-content/plugins/ultimate-product-catalogue/Functions/UPCP_WC_Integration.php. Error message: Uncaught Error: [] operator not supported for strings in /home/galvin/public_html/wp-content/plugins/ultimate-product-catalogue/Functions/UPCP_WC_Integration.php:592
    Stack trace:
    #0 /home/galvin/public_html/wp-content/plugins/ultimate-product-catalogue/Functions/Update_Admin_Databases.php(917): UPCP_Create_Linked_WC_Product(Object(stdClass))
    #1 /home/galvin/public_html/wp-content/plugins/ultimate-product-catalogue/Functions/Prepare_Data_For_Insertion.php(49): Edit_UPCP_Product(‘4’, ‘Catan: Seafarer…’, ‘catan-seafarers…’, ‘https://tableto…’, ‘You can sett…’, ”, ”, ‘Yes’, ”, ”, ‘Show’, ‘5’, ”, ”, ”, Array, ”, ”, ‘No’, ‘148’)
    #2 /home/galvin/public_html/wp-content/plugins/ultimate-product-catalogue/Functions/Update_UPCP_Content.php(13): Add_Edit_Product()
    #3 /home/galvin/public_html/wp-includes/class-wp-hook.php(286): Update_UPCP_Content(”)
    #4 /home/galvin/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #5 /home/galvin/public_html/wp-includes/plugin.php(46

    I appreciate any support or advice

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello @galvinphuong,

    From the looks of it, you are using a custom field for a booqable_button, and in it’s id attribute, you are using double quotations. These double quotations are causing an error. Could you try switching them to single quotations and see if it makes a difference?

    Thread Starter galvinphuong

    (@galvinphuong)

    Hi,

    So I have tried it with Tokaido and Unstable Unicorns, but the message still appears. Did I do it right?

    If you right click on the page and click on inspect, you will this error message in your console log:

    Uncaught SyntaxError: Unexpected identifier (index):262

    If you were to click on

    (index):262

    , it will show you where it breaks and right now it is breaking at Tokaido.

    I do notice that the products using double quotations in the button, are now getting the \ (backwards slash) prepended, which is good. Could you add the double quotations back (Tokaido and Unstable Unicorns) and see if the backwards slash is getting prepended on them?

    Thread Starter galvinphuong

    (@galvinphuong)

    I’ve changed them both to double quotations again but I don’t know where to look for a prepended backslash.

    Hi @galvinphuong,

    Could you send us an email at contact@etoilewebdesign.com containing an export of your products? Please refer to this thread in the email. We can also continue our conversation there.

    Thread Starter galvinphuong

    (@galvinphuong)

    Yep, sending through now

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Technical difficulties when updating products’ is closed to new replies.