Plugin Support
Karina
(@karinapremio)
Hi @androjaner , thanks for your message. Can I ask where exactly you see this? I just checked but I wasn’t able to reproduce it on my end. Please feel free to contact us at [email protected] for any further questions or concerns.
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 3 years, 6 months ago by
Goran Peric.
Plugin Support
Karina
(@karinapremio)
Hey @androjaner , thank you for the helpful details! Our developer was able to see the issue and he will be pushing a bug fix for this in our next release.