• Resolved Drazzic

    (@drazzic)


    Hello,

    I used your plugin for a lot of time and it works great. But lately it wasn’t tracking new orders. I saw at the settings the GA ID was gone and it is giving me an error/warning:

    <br /><b>Warning</b>: Illegal string offset ‘ga_id’ in <b>/home/sunflake/public_html/wp-content/plugins/enhanced-e-commerce-for-woocommerce-store/admin/partials/general-fields.php</b> on line <b>24</b><br />o

    if I try to fill in GA ID again I get a lot of errors/warnings:

    Warning: array_key_exists() expects parameter 2 to be array, string given in /home/sunflake/public_html/wp-content/plugins/enhanced-e-commerce-for-woocommerce-store/admin/class-enhanced-ecommerce-google-analytics-settings.php on line 57

    Warning: Illegal string offset ‘ga_id’ in /home/sunflake/public_html/wp-content/plugins/enhanced-e-commerce-for-woocommerce-store/admin/class-enhanced-ecommerce-google-analytics-settings.php on line 58

    Warning: array_key_exists() expects parameter 2 to be array, string given in /home/sunflake/public_html/wp-content/plugins/enhanced-e-commerce-for-woocommerce-store/admin/class-enhanced-ecommerce-google-analytics-settings.php on line 57

    Warning: Illegal string offset ‘ga_Impr’ in /home/sunflake/public_html/wp-content/plugins/enhanced-e-commerce-for-woocommerce-store/admin/class-enhanced-ecommerce-google-analytics-settings.php on line 58

    Warning: array_key_exists() expects parameter 2 to be array, string given in /home/sunflake/public_html/wp-content/plugins/enhanced-e-commerce-for-woocommerce-store/admin/class-enhanced-ecommerce-google-analytics-settings.php on line 57

    Warning: Illegal string offset ‘ga_PrivacyPolicy’ in /home/sunflake/public_html/wp-content/plugins/enhanced-e-commerce-for-woocommerce-store/admin/class-enhanced-ecommerce-google-analytics-settings.php on line 58

    Warning: array_key_exists() expects parameter 2 to be array, string given in /home/sunflake/public_html/wp-content/plugins/enhanced-e-commerce-for-woocommerce-store/admin/class-enhanced-ecommerce-google-analytics-settings.php on line 57

    Warning: Illegal string offset ‘ee_submit_plugin’ in /home/sunflake/public_html/wp-content/plugins/enhanced-e-commerce-for-woocommerce-store/admin/class-enhanced-ecommerce-google-analytics-settings.php on line 58

    Warning: Cannot assign an empty string to a string offset in /home/sunflake/public_html/wp-content/plugins/enhanced-e-commerce-for-woocommerce-store/admin/class-enhanced-ecommerce-google-analytics-settings.php on line 58

    how can I fix this?

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Conversios

    (@tatvic)

    @drazzic ,

    In order to investigate further, Please share your store url.

    Thread Starter Drazzic

    (@drazzic)

    Plugin Author Conversios

    (@tatvic)

    Hi @drazzic

    Could you please update out plugin to the latest version 2.2.1?

    Regards

    We are having the exact same issue with all the same errors and we are updated to the latest version. I am interested to see what the fix is as the errors are still there in 2.2.1

    Thread Starter Drazzic

    (@drazzic)

    Hey Tatvic, I already had the latest version 2.2.1 installed – so it’s up to date at this moment.

    Plugin Author Conversios

    (@tatvic)

    Hi ,

    We have debugged the issue and to resolve the same, Please follow the below steps:

    Step 1: Uninstall our Plugin.

    Step 2: Navigate to Database -> wp_options -> ee_options and delete the row ‘ee_options’.

    Step 3: Reinstall the latest version of the Plugin.

    Please let us know if the issue gets resolved or not after performing above steps.

    • This reply was modified 5 years, 4 months ago by Conversios.

    Hi Tatvic,

    Thank you for the response. This did indeed resolve the issue for me. Deleting the plugin, deleting the ee_options row and reinstalling the plugin cleared the GA ID field and allowed me to reenter the id which this time did not throw any errors.

    Plugin Author Conversios

    (@tatvic)

    Hi @stellaractive

    Thanks for the update.

    Sometimes it happens when the multiple installations happen at the development environment and then move back to live environment.

    Hope I could help.

    Regards

    Thread Starter Drazzic

    (@drazzic)

    Thanks for your response.

    I don’t see ee_options when I check wp_options in my database.

    I got 25 rows but none of them is ee_options.

    I tried uninstalling & re-installing but that didn’t fix it for me.

    Any ideas? Thank you

    Plugin Author Conversios

    (@tatvic)

    Hey @drazzic

    Ah! In your case it may be because of version issue….. Please let me know your store’s PHP, WooCommerce and WordPress versions.

    Thread Starter Drazzic

    (@drazzic)

    Thanks for your help.

    Wordpress: 5.2.4
    WooCommerce: 3.7.1
    PHP: 7.1.30

    Hope this helps thanks

    Plugin Author Conversios

    (@tatvic)

    Alright.. versions are Ok.

    So this isn’t a issue, It’a A Notice Only. You can Trun Of this Notice by following the below steps:

    1) Go To Your Main WordPress Root Directory

    2) Go to wp-config.php

    3) Scroll down, find the line “define(‘WP_DEBUG’, true);” and make it false (Screenshot for help – https://prnt.sc/gpju8x).

    • This reply was modified 5 years, 4 months ago by Conversios.
    Thread Starter Drazzic

    (@drazzic)

    Thanks, I tried to find the line but it was already set to FALSE.

    define(‘WP_DEBUG’, false);

    Sorry, I appreciate your fast help. Any more ideas I can try?

    Thread Starter Drazzic

    (@drazzic)

    Thanks for the help

    • This reply was modified 5 years, 4 months ago by Drazzic.
Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Plugin stopped working (warnings)’ is closed to new replies.