You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The wp_dirstatic function seems to want to reduce it's absolute path till it reaches /, while trying to load the /wp-settings, based on the plugins path, but if the plugin is in a separate folder structure, that is not in the subfolder then it results un the following error
ERROR: s2Member unable to locate WordPress directory.
Our plugins current absolute path is the following;
(s2Member/s2Member Pro) Bug Fix: This release resolves a minor issue for developers running Vagrant and VVV with symlink plugins. Props @magbicaleman ~ See this GitHub issue for further details.
Future comments on this issue will now be blocked. If you have any trouble please open a new issue and report it. A big thanks to all of our great supporters. Happy Holidays :-) ❄️
In VVV the Wordpress installation is /wp. In the following file
/public_html/content/plugins/s2member/includes/classes/utils-s2o.inc.php
The
wp_dir
static function seems to want to reduce it's absolute path till it reaches /, while trying to load the /wp-settings, based on the plugins path, but if the plugin is in a separate folder structure, that is not in the subfolder then it results un the following errorOur plugins current absolute path is the following;
/public_html/content/plugins/s2member/s2member-o.php
As you can see above the condition above will never be true for our current WP_DIR which is.
/public_html/wp
This causes errors loading the js and css from the
s2member-o.php
file.The text was updated successfully, but these errors were encountered: