matom
Forum Replies Created
-
Forum: Plugins
In reply to: [BuddyPress Groupblog] Fatal error: /bp-groupblog-classes.php on line 58This is probably not a fix or the best way to do this, but as a quick workaround I’ve changed bp-groupblog-classes.php to re-instantiate itself on every function that uses $this.
See http://pastebin.com/u4VxQC0P
Works for me for now. I had to do the same on a couple of my own Group Extensions too.
Forum: Plugins
In reply to: [BuddyPress Groupblog] Fatal error: /bp-groupblog-classes.php on line 58I’m also getting the same error on the BP Groupblog admin page. Could it have something to do with the PHP version or something in php.ini?
It works on my localhost which is on PHP 5.4.7 but it doesn’t work on the webserver which is on PHP 5.2.17.
I’ve just come across exactly the same issue, but I found out that the problem seems to be with image sizes that are 400px wide and cropped.
One of my additional image sizes was defined at 400×240 (cropped), I’ve deleted that particular size and the I was able to edit the original image again.
It seems to me that if available on the server, WordPress uses images that have a width of 400px for the editor image instead of generating it from the original.
Forum: Networking WordPress
In reply to: show password in user registration emailI don’t think this is related at all to pods. Pods is only the trigger to run some core WP functions when it saves the data:
$random_password = wp_generate_password( 12, false ); $user_id = wpmu_create_user( $user_name, $random_password, $user_email ); wpmu_welcome_user_notification($user_id, $random_password);All of that works fine, and the password gets generated correctly and is entered to the database. I just need this password to print in the welcome email instead of Password: [User Set].
The same happens even if I run those functions seperate from pods.
Forum: Networking WordPress
In reply to: show password in user registration emailI only use pods-cms for the main site and that works fine. I’m not expecting it to work on the network sites, but I haven’t tried this.
I still haven’t managed to show the password in the welcome email.
I guess I could just send out the password with wp_mail, but I’d rather use wpmu_welcome_user_notification instead.