Hi @karinapremio,
first of all, you should know that this error occurs only if you use PHP version 8.0 or higher. Before that, the error is not issued.
You can find it, as already written, in the file “folders-pro/includes/dynamic-folders.php” in line “208”.
I took a closer look at the source code of the plugin and my recommendation would be to simply make the $cat variable mandatory. Attached is an example:
Original
public function get_category_list($cat=0, $post_type)
My suggestion
public function get_category_list($cat, $post_type)
This should work, since the function is never called with no passing variables.
Many greetings.
-
This reply was modified 2 years, 3 months ago by
Goran Peric.