[email protected]
Forum Replies Created
-
Forum: Plugins
In reply to: [Behance Portfolio Manager] Multiple Category FeatureI need the same feature.
Bump!Thanks for the tips (and the amazing plugin).
I was getting the same error with 0.5.8.
I managed to get the plugin to install by commenting out the offending sections://if (version_compare(PHP_VERSION,"5.3.6","<")) // $extension = pathinfo($fileinfo->getFilename(), PATHINFO_EXTENSION); // compat for 5.3 - 5.3.5 //else // $extension = $fileInfo->getExtension(); //if ($extension == "php") //{ include_once($fileInfo->getRealPath()); //}The filters sections are appearing fine on FWP.
We’ll see if the filters work now.I tried downgrading to the 5.5 version. Now i get this error:
Fatal error: Call to undefined method DirectoryIterator::getExtension() in /var/www/wp-content/plugins/faf/feedwordpress_advanced_filters.php on line 81The line that triggers the error is this:
$extension = pathinfo($fileinfo->getFilename(), PATHINFO_EXTENSION);I added a
print_r($fileInfo);at the point where the error happens and got the following:DirectoryIterator Object ( [pathName:SplFileInfo:private] => /var/www/wp-content/plugins/faf//filters/categories_keyword.php [fileName:SplFileInfo:private] => categories_keyword.php [glob:DirectoryIterator:private] => [subPathName:RecursiveDirectoryIterator:private] => )So it appears that the object is being handled wrong, not an issue of PHP support.
Thoughts?I have PHP 5.3.3 installed (“5.3.3-7+squeeze15”) and still getting this error while trying to activate the plugin.
Fatal error: Call to a member function getFilename() on a non-object in /var/www/wp-content/plugins/faf/feedwordpress_advanced_filters.php on line 89When I tried with the svn linked one above, I get the same error.
I’m also looking for site-wide focus word on Yoast.
Did you say you implemented it yourself?
Could you post a code snippet of how you did it, or something like that.
cheers