Anton
Forum Replies Created
-
Forum: Alpha/Beta/RC
In reply to: load_plugin_textdomain() in 4.6RCNote that this means that a theme can no longer unload_textdomain() and then load_plugin_textdomain() using a file anywhere else in the file system. As of 4.6 you must load the plugin translations using load_textdomain() instead. At least as far as I can tell.
Forum: Plugins
In reply to: [BP Group Hierarchy] Breaks Boss theme with Buddypress 2.6.1Yep, downloading that master zip file fixed it for me.
Forum: Plugins
In reply to: [BP Group Hierarchy] Breaks Boss theme with Buddypress 2.6.1Forum: Plugins
In reply to: [BP Group Hierarchy] Breaks Boss theme with Buddypress 2.6.1Same issue here. Debug mode shows this:
BP_Toplevel_Groups_Widget has a deprecated constructor in /public_html/wp-content/plugins/bp-group-hierarchy/bp-group-hierarchy-widgets.php on line 12 Fatal error: Class 'BP_Groups_Component' not found in /public_html/wp-content/plugins/bp-group-hierarchy/bp-group-hierarchy-loader.php on line 6
Confirmed. This hard coded solution works well for me too.
@littlenoname Great find! I hope I’m not rushing things now (due to some cache or whatever) but this modification of your code seems to work for me:
$events_dates->{strtotime($EM_Event->start_date)}[] = $EM_Event;
(Note the {} around the strtotime function)
edit: Dang! 2 minutes later and the cache got updated.. still the same error :((
OK, thanks!
FWIW, I found a similar issue with Joomla where one dev wrote:
“PHP 7 throws an Array to string conversion error if you are accessing an object with a nested array using syntax like $object->$array[‘key’]; I haven’t researched the exact reason for this but the parser tries to convert the array to a string versus reading the array element. Wrapping the array in curly brackets (like $object->{$array[‘key’]}) allows the parser to interpret this correctly.”
Yep, seems to work with php 5.6. How could that be?
Using debug=true I got this interesting bit:
“Notice: Indirect modification of overloaded property EM_Event::$Array has no effect in /…/wp-content/plugins/events-manager/classes/em-object.php on line 1087”
…plus tons of this:
“Notice: Array to string conversion in /…/wp-content/plugins/events-manager/classes/em-object.php on line 1087”
Any leads..?
Well, whaddayaknow.. The problem just came back again. The listing in wp-admin looks correct though. The formatting code I use is “l j F, Y”.
I’m running PHP 7, if that’s of importance here.
You know what? My web hotel, who also made the url above 404 for a while during a planned server migration, seems to have fixed the problem during said move ?? So I’ll close this one now.
Hi. That was indeed the ESS plugin I mentioned. I ended up using a modified version of BDN’s InDesign plugin which now lets me export a Win or Mac formatted text file that I can import to InDesign with some formats preset.
@angelo Thanks, but as far as I can see I still get my non-week events there too. Am I missing something?
Hi!
I’m only allowing single/normal events, no recurring.
I must be terrible at both explaining problems and reading through proposals for fixes.. This is what fixed it for me:
if( is_ssl() && em_is_events_page() ){
Missed both the events and the !is_ssl thingie, sorry about that. Glad you got me on the right track though, couldn’t have guessed/found what filter to use without your help.