marcobiscaro2112
Forum Replies Created
-
Thank you Gabriel! It works like a charm now!
BUT… now the cookie is not set and it looks like the date validation is not working properly: I earned the points 57 times in some minutes.
Changing this calls the right method now. But there is a typo:
PHP Fatal error: Call to undefined function apply_filter() in wp-content/plugins/mycred/modules/mycred-module-hooks.php on line 414Changing apply_filter to apply_filters makes everything work fine!
I have the same problem here. After some debugging, I realized that
myCRED_Hook_Site_Visits::visitis not being ever called.I suspect this is happening because the modules are loaded on
mycred_inithook. After the module is loaded, themyCRED_Hook_Site_Visits::runis called and do the folowing:add_action( 'mycred_init', array( $this, 'visit' ) );But the
mycred_inithook is already happening.Is that right? Running WP 3.9.1.