I can't get the community to work in one of my sites. I've tried disabling all plugins, changing themes, nothing works. After installing the plugin, when I click on Fluent Community on the left menu I get a critical error message. There is no page using the /portal slug. Upon checking the PHP error log I see this:
PHP Fatal error: Uncaught InvalidArgumentException: Unable to create datetime from: -0001-11-29 21:00:00. in /home/nginx/domains/**/public/wp-content/plugins/fluent-community/vendor/wpfluent/framework/src/WPFluent/Support/DateTime.php:239
Seems to be related to date/time? Any ideas on what could be the culprit?
Henrique Teixeira I am not sure if this could help but try to:
- overwrite your current WP permalinks (wp-admin > permalinks)
- change date/time format in your browser
Note: if the fCommunity is installed on subfolder or multisite then in might not work "at all"
Mat, thanks for the tip, but it didn't work. And it's not on a subfolder or multisite :/
Henrique Teixeira, do you use any special date/time notation especially when it comes to date format: dd/mm/yyyy vs mm/dd/yyyy or to time format: 7h45 (formal) vs 19:45 (informal)?
Do you have more lines from the log? So we can find the origin.
Shahjahan Jewel, unfortunately that's all I can see in the error logs...
Shahjahan Jewel, just an update on this issue: it was indeed a problem with the permalinks. I had tried a couple of options and it didn't work before, but then I tried a specific custom permalink structure (post-id/post-name) and it worked. I wonder if it's something the dev team can tune to at least tell the admin what the problem is and how to fix it, because a critical error message can be scary and some people might just give up on the plugin because of that.