• Resolved travellingwithtania

    (@travellingwithtania)


    I’m having trouble uploading a demo content from my theme.
    I ran the debug.log, and get the following error:

    [19-Feb-2018 01:40:05 UTC] PHP Notice:  Undefined index: HTTP_USER_AGENT in /home/*******/public_html/wp-content/plugins/cmp-coming-soon-maintenance/niteo-cmp.php on line 1150
    [19-Feb-2018 01:40:05 UTC] PHP Notice:  Undefined index: HTTP_USER_AGENT in /home/*******/public_html/wp-content/plugins/cmp-coming-soon-maintenance/niteo-cmp.php on line 1150

    Then I deleted the plugin, and get a new error:

    [19-Feb-2018 02:09:11 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'cmp_plugin_delete' not found or invalid function name in /home/*******/public_html/wp-includes/class-wp-hook.php on line 286

    Any thoughts?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author NiteoThemes

    (@niteo)

    hello @travellingwithtania, there is no need to worry about both of the errors.

    First error is because your server do not post User-Agent, therefore this error.
    – I will make a small change in code to resolve this error.

    Second error is caused by plugin routine to delete the saved options created by this plugin. And this routine is not found which is strange as I tested it many times on my end and it works fine.

    Do you still have that error when deleting CMP plugin? (but no need to test it, as it will (should) delete all the CMP user settings).

    But even with that error, there is nothing to worry about, it will simply not delete the plugin settings from your database.

    Alex

    Thread Starter travellingwithtania

    (@travellingwithtania)

    Thanks for your help!
    Yes, so I’ve deleted the plugin, tried again (no work), and then reinstalled again, but the settings were still there… so I think there’s something blocking a complete uninstall on my end, just not sure where!

    Plugin Author NiteoThemes

    (@niteo)

    I have looked into the uninstall hook and it might really fail in some specific cases.
    Thanks for pointing out both of these issues – I will make sure they are fixed in next update!

    cheers Alex

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I’m having errors with this plugin’ is closed to new replies.