PHP Fatal error: Call to a member function strlen() on a non-object in /opt/supfaq/inc/String.php on line 103
The reason that this does not work is because inc/Init.php contains:
Code: Select all
if (!isset($path_parts['extension']) && (PMF_String::strlen($path_parts['basename']) == 0)) {
return '';
}
=> basename is not empty
=> PMF_String is not initialized
=> error
Attached is a patch for this (0001-Use-PMF_String_Basic-strlen-instead-of-PMF_String.patch).
NOTE: this patch was originally written on 2.6.7. It is untested on the git HEAD.