• After I moved a site to another hosting, I get this warning when activating the plugin:

    warning: fopen(/home/118521.cloudwaysapps.com/zzsmvyuvaa/public_html/wp-content/plugins/wc4bp/wc4bp-basic-integration.php): failed to open stream: No such file or directory in /www/htdocs/w0155750/test.heddesheimer.de/wp-includes/functions.php on line 4834

    It seems that the plugin somehow inserted an absolute path to the old hosting directory. cloudwaysapps.com was the old hosting, test.heddesheimer.de is the new one.

    I even tried to delete the plugin and re-install it from scratch, but I’m getting the same problem.

Viewing 1 replies (of 1 total)
  • Yep, it stores the file location on disk in the database (somewhere in the wp_options table).
    If you’re handy with MySQL you could fix it, but be very careful! It is stored as a serialized php-array so the string length of the path must be specified!

    If you have no clue how to edit a serialized array and/or if it’s not a big issue to start all over, you could just remove the plugin, delete the database record with the path in it and reinstall the plugin. (removal does not delete the options)

    (to remove the record, some knowledge of MySQL and access to something like PHPMyAdmin might come in handy)

Viewing 1 replies (of 1 total)
  • The topic ‘Plugins fails when site moved to another host’ is closed to new replies.