Problem with activation
-
Hello,
I encounter a problem with the plugin, it does not create its tables in the database at activation.
The problem comes from line 420 and does not occur on all servers.
$activatestr = str_replace(WP_PLUGIN_DIR . “/”, “activate_”, __FILE__ );
In some cases the slashes of WP_PLUGIN_DIR and __FILE__ are not in the same direction. So the replacement doesn’t work and it breaks the action.
Applying the “wp_normalize_path” function to paths fixes the problem and the plugin works again.
Can you make an update to fix this?
Is the plugin still maintained?
Thank you very much,
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Problem with activation’ is closed to new replies.