Support » Plugin: YouTube Embed » Getting a FATAL ERROR message when trying to delete the plugin.

  • Resolved garymgordon


    I am running WP 3.4.2
    I am running the Builder Theme from iThemes.
    I am runnning Artiss YouTube Embed v2.6.1
    I am running my site in MultiSite (Network) mode. (Not a Single Site, although I only have one site running.)
    I am on a Linux server.
    All other plugins are up to date.
    I tried re-uploading the v2.6.1 of Artiss, and then tried to delete it again, but I get the same FATAL ERROR.


    Everything else on my site seems to be functioning fine.

    But when I click to DELETE the plugin, and then tell it to delete all the files, I get a FATAL ERROR message.

    Here’s what it reads:

    Fatal Error (hide details) (remove)
    The site encountered a problem that it cannot recover from. Please use the following information to try to resolve the problem.

    Error Message

    Fatal Error: Call to undefined function aye_get_cookie_path() in /xxxx/xxxxxx/xxxxxxx/wp-content/plugins/youtube-embed/uninstall.php on line 57

    The Artiss YouTube Embed plugin code created an error that caused PHP execution to fail.

    The code tried to run a function that doesn’t exist ( aye_get_cookie_path()). This type of error is typically caused by a simple typo (is_hom() rather than is_home()), by calling a function provided by a plugin when that plugin is not activated, by calling a function before it is ready (such as calling a function before the code that creates it has run), or by using a function that no longer exists (the function may have been removed from WordPress core or the plugin/theme that previously supplied it).


    Invalid code modifications can cause this problem. If you have made any modifications to the plugin, remove them and try to load the site again.
    It is possible that this plugin’s code is out of date and that an upgrade is available. Check with the plugin’s author to see if an upgrade is available.
    There may be a conflict with another plugin running on the site. Try upgrading the other plugins on the site. A plugin conflict can be ruled out by deactivating all the other active plugins on the site and checking to see if the error still occurs.
    The Artiss YouTube Embed plugin may not have been fully uploaded. Uploading the plugin again could fix the issue. Important: If you do this, you will lose any modifications made to the plugin.
    Error Source Details

    Type Plugin
    Name Artiss YouTube Embed
    Version 2.6.1
    Author David Artiss
    Path /xxxx/xxxxxx/xxxxxxx/wp-content/plugins/youtube-embed
    File uninstall.php
    Other Software Details

    WordPress Version 3.4.2
    PHP Version 5.2.17
    Full Error Details

    Type Fatal Error (E_ERROR)
    Message Call to undefined function aye_get_cookie_path()
    File /xxxx/xxxxxx/xxxxxxx/wp-content/plugins/youtube-embed/uninstall.php
    Line 57
    Type Description This type of error indicates that PHP cannot continue to run the code. Typical causes of this type of error are code bugs that have typos, missing or incomplete files (such as a file that was only partially uploaded), and the code using more memory than it is allowed.



Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author David Artiss


    Thanks for reporting that. The issue is fixed in 2.6.2.


    Thank you very much. If you wouldn’t mind tell me, I was curious what caused this to happen. (Just briefly). 😉


    Plugin Author David Artiss


    The plugin contains an uninstall.php file – this is what is run after you delete the plugin. However, I made a call to a function within the plugin – as this was gone it caused a failure. I’ve now simply duplicated the code that I was calling within the uninstaller routine.



Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Getting a FATAL ERROR message when trying to delete the plugin.’ is closed to new replies.