• Resolved Chris

    (@bundfegadmin)


    Hi there,

    after the update to 3.5.0 (I update with wp cli) all sites break with this error:

    PHP Warning: require_once([...]/wp-content/plugins/wp-members/includes/cli/class-db-tools.php): Failed to open stream: No such file or directory in [...]/wp-content/plugins/wp-members/includes/class-wp-members.php on line 817

    I checked the folder and there is indeed no class-db-tools.php but a class-wp-members-cli-db-tools.php. After symlinking to the correct name, wp cli works again.

    Perhaps you can repair this? I can live with a symlink until the next update ??

    Chris

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    Thanks for pointing this out. Yes, it is a misnamed file. You can just rename the file (the plugin will fix that when you update since it will overwrite the existing files).

    There is also a patchfile that addresses it that way (loading the correctly named file which it should have done in the first place). There are some other fixes that you may or may not need (some are localized and dependent on how the plugin is setup and used), but the full list is here:

    https://www.ads-software.com/support/topic/wp-members-3-5-0-patch-files/

    Thread Starter Chris

    (@bundfegadmin)

    Thanks a lot, renaming is even better ??

    just bit me too on overnite update check:

    Updates were not installed for the following items:

    1. Website “Cardinal Glen of Sterling HOA?” (https://cardinalglen.org): Failed to reset cache for the instance #1: Warning: require_once(/home/cardin55/public_html/wp-content/plugins/wp-members/includes/cli/class-db-tools.php): Failed to open stream: No such file or directory in /home/cardin55/public_html/wp-content/plugins/wp-members/includes/class-wp-members.php on line 817 Fatal error: Uncaught Error: Failed opening required ‘/home/cardin55/public_html/wp-content/plugins/wp-members/includes/cli/class-db-tools.php’

    Plugin Author Chad Butler

    (@cbutlerjr)

    See resolution noted above.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.