• Resolved pneufeld58

    (@pneufeld58)


    Tried to update from 6.4.1 to 6.4.2 (on a local test site fortunately) and the update failed with an error that it could not create a directory. The plugin page now has the notification:

    The plugin rsvpmaker/rsvpmaker.php has been deactivated due to an error: Plugin file does not exist.

    The plugin no longer shows on the WP plugin page except in the above notification.
    The …/plugins/rsvpmaker directory is now missing.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter pneufeld58

    (@pneufeld58)

    Attempted re-install of version 6.4.2. Following activating received:

    The plugin generated 561 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

    Also getting (also in 6.4.1):

    Deprecated: Function create_function() is deprecated in /srv/www/wordpress-cm/public_html/wp-content/plugins/rsvpmaker/rsvpmaker-actions.php on line 62
    
    Deprecated: Function create_function() is deprecated in /srv/www/wordpress-cm/public_html/wp-content/plugins/rsvpmaker/rsvpmaker-actions.php on line 63
    
    Deprecated: Function create_function() is deprecated in /srv/www/wordpress-cm/public_html/wp-content/plugins/rsvpmaker/rsvpmaker-actions.php on line 64

    Above is easily fixed using generic function() instead of create_function() as indicated by https://github.com/tommcfarlin/WordPress-Widget-Boilerplate/issues/38

    Plugin Author davidfcarr

    (@davidfcarr)

    I haven’t been able to reproduce the problem with upgrading to the latest release.

    Thanks for pointing out the create_function issue. I see that’s deprecated on PHP 7.2+ and maybe the warning you’re seeing is the root of the “unexpected output” problem.

    That the whole plugin directory would have been deleted seems odd. I wouldn’t think calling create_function could trigger anything that severe. I assume you’ve checked for file permissions and other potential issues on your test site.

    Will try to provide an update soon.

    Plugin Author davidfcarr

    (@davidfcarr)

    Please try 6.4.3 and let me know if you’re still seeing a problem.

    Thread Starter pneufeld58

    (@pneufeld58)

    Install of 6.4.3 corrected both issues. Thank you, David.

    Plugin Author davidfcarr

    (@davidfcarr)

    Glad it worked out. Looks like each() is also deprecated in 7.2, and I think I have used that very occasionally so will have to try to track down those instance.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Version 6.4.2 update failed – could not create directory’ is closed to new replies.