oobertus
Forum Replies Created
-
I’ve got another problem regarding this feature… I have switched to another server to implement the same behavior. Here I have installed inside the root directory. Server runs PHP 8.
The variable “url_part” returns empty because “filter_input” seems not to work. Current workaround is to use “filter_var($_SERVER[‘REQUEST_URI’],FILTER_UNSAFE_RAW, FILTER_NULL_ON_FAILURE);” instead of “filter_input( INPUT_SERVER, ‘REQUEST_URI’ );” (line 426 in includes/actions.php)
regards, Robert
After looking into the code I found that this is a bug in the plugin.
Problem is: My wordpress instance runs in a subfolder of the domain “www.xyz.org/myWebsite”. The plugin checks for matching urls in “includes/actions.php” line 455 ($url === $registration_page) and 463 ($url === $allowed_url) but $url contains the “myWebsite” part twice (“www.xyz.org/myWebsite/myWebsite/register.php”)
This is becaus $url is build from “home_url( $url_part );” (line 432) which adds “myWebsite/register.php” to “www.xyz.org/myWebsite”
Happy to hear when this is fixed. Until then I use a modified version of the plugin…
Robert
Hey, I had the same problem and solved it using the Editor and changing the code in my own.
You only have to change 2 rows in the “getparam.php”:
– change ‘is_array($tag)’ to ‘is_object($tag)’ in row 38 and 48It seems that there was a change of return value type.
Hope I could help
Greetings from germany, Oobertus