WordPress.org

Ready to get started?Download WordPress

Forums

ThreeWP Activity Monitor
[resolved] PHP Fatal error (9 posts)

  1. Tunghsiao Liu
    Member
    Posted 3 years ago #

    Hi

    After upgrading to 2.0, this plugin seems not works well with my site. My site is multisite enabled and the older version works fine with WordPress 3.2.

    After upgrading, the Edit Profile page cannot be fully loaded. Here's the log file from my server:

    PHP Fatal error: Call to a member function make_input() on a non-object in /usr/share/nginx/html/wp-content/plugins/threewp-activity-monitor/ThreeWP_Activity_Monitor.php on line 1472" while reading upstream, client: 180.*.*.*, server: nio2.com, request: "GET /e/wp-admin/profile.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "nio2.com", referrer: "http://nio2.com/e/wp-admin/users.php

  2. Ov3rfly
    Member
    Posted 3 years ago #

    I had exactly the same problem, looked into the code and found a fix for this error, works here, but comes without any warranty!!1!

    In version 2.0 file wp-content/plugins/threewp-activity-monitor/ThreeWP_Activity_Monitor.php at line 1375 you should find this function:

    ...
    	private function show_activities($options)
    	{
    ...

    A few lines down in the function you should find this:

    ...
    		$form_start = '';
    		$form_stop = '';
    
    		if ( $options['show_mass_edit'] === true )
    		{
    			$form = $this->form();
    			$form_start = $form->start();
    			$form_stop = $form->stop();
    ...

    Change it to this:

    ...
    		$form_start = '';
    		$form_stop = '';
    		$form = $this->form();
    
    		if ( $options['show_mass_edit'] === true )
    		{
    			$form_start = $form->start();
    			$form_stop = $form->stop();
    ...

    The $form = $this->form(); is moved up, outside of the if-block. Then the profile page loads fine.

    There seem to be some more (minor) glitches on the profile-page with 2.0, won't provide fixes for these...

  3. Danny
    Member
    Posted 3 years ago #

    Oh man, thanks you saved my arse.

    Or maybe I should say you saved the developer from losing another customer...

    Either way, I thank you!

  4. Ov3rfly
    Member
    Posted 3 years ago #

    No problem.

    I have posted a comment about this on the authors website and sent him a direct email about it about a week ago, but the comment is not displayed (yet) and no reply to my email.

    The "Invert selection" feature or at least the button for it is also broken, but I won't fix that...

  5. MyUtd4Life
    Member
    Posted 3 years ago #

    Thanks:)

  6. edward mindreantre
    Member
    Plugin Author

    Posted 3 years ago #

    Fixed in 2.1.

  7. Tunghsiao Liu
    Member
    Posted 3 years ago #

    Great, and I'll translate this plugin into my language if I have any spare time.

  8. Danny
    Member
    Posted 3 years ago #

    Just upgraded to 2.1 and I can confirm that it is working.

  9. Sabinou
    Member
    Posted 2 years ago #

    Sorry for hijacking this thread, but I wonder if it isn't related : this plugin has disappeared from the WordPress Plugins database, would you have an idea why ?

    wordpress.org/extend/plugins/threewp-activity-monitor

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic