Forum

Whether it's a plugin thats causing issues, a theme, or just needed help with styling your site...We can help! Live Person Support for all your Wordpress Needs!

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: error - valid callback to wp-includes/plugin.php on line 486
edmoran
Newbie
Posts: 5
Send Message

Post error - valid callback to wp-includes/plugin.php on line 486
on: Jan 23 2012, 02:16 PM

Hi, all

I've been using mingle with the default skin without any problems, but when I installed the DarkPress skin (and other skins create this problem, too, I don't recall which ones offhand.) and I update the wpf-class.php file, I get the following php error..

Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'mingleforum::before_go' was given in /home/nwufo907/public_html/wp-includes/plugin.php on line 486

I've disabled a few suspect plugins with no change, reloaded the files, etc. I'm running wordpress 3.3.1 with mingle 1.0.33

Any ideas?

TIA


Shrink, Track, Share, Control ... Dominate
edmoran
Newbie
Posts: 5
Send Message

Post Re: error - valid callback to wp-includes/plugin.php on line 486
on: Jan 23 2012, 04:56 PM

An update..

I disabled all plugings except Mingle and still get the above error, so it's not probably not a plugin interaction. I also reverted back to the factory original wpf-class.php file. The error went away and the forum seems functional. There are a few layout burps here and there, these may be side effects, no biggie.

UFG
Newbie
Posts: 2
Send Message

Post Re: error - valid callback to wp-includes/plugin.php on line 486
on: Jan 23 2012, 05:34 PM

I too have these issues, only with Dark Press. Just registered an account here to try and fix them, because it's the only skin for dark sites that actually looks good.

Also, the images for like: Forum Home, My Profile, and Search etc. don't show up. This happens with both wpf class files, and even affects other images on the forum page. I believe its the skin's fault, and it may not be updated to the newest version of MF.

Any support on fixing this would be appreciated.

Chargin
Newbie
Posts: 2
Send Message

Post Re: error - valid callback to wp-includes/plugin.php on line 486
on: Jan 23 2012, 06:52 PM

Im having the same problem.

NintendoGa-
l
Newbie
Posts: 2
Send Message

Post Re: error - valid callback to wp-includes/plugin.php on line 486
on: Jan 25 2012, 05:57 AM

First post on the forum and I hope it helps someone out.

I figured out a simple work around for the time being by examining the original wdf-class.php file against new ones. This is what I came up with. You need to edit the new wdf-class.php file (new themes), not the original.

This:

		function before_go()
	{
		$this->setup_links();
	}

Needs to be added before:

	function go() {
		ob_start();
		$start_time = microtime(true);
		global $user_ID;
		get_currentuserinfo();

And after the:

}

By doing this, the error message vanished on my end. Since I'm not really a coder, I can't offer any help further than this since I just tinkered and found this solution for myself.

NintendoGa-
l
Newbie
Posts: 2
Send Message

Post Re: error - valid callback to wp-includes/plugin.php on line 486
on: Jan 25 2012, 06:10 AM

Hmm disregard that for now, it threw more errors out when I made that change. I'll keep trying though.

hamiltino
Newbie
Posts: 11
Send Message

Post Re: error - valid callback to wp-includes/plugin.php on line 486
on: Jan 26 2012, 06:32 PM

yeah anyone got a clue how to fix this!!!

Guest
Newbie
Posts: 4
Send Message

Post Re: error - valid callback to wp-includes/plugin.php on line 486
on: Feb 24 2012, 08:26 AM

I'm desperately trying to find a fix for this same problem.

menacek04
Newbie
Posts: 5
Send Message

Post Re: error - valid callback to wp-includes/plugin.php on line 486
on: Feb 28 2012, 08:41 AM

If anyone has found any fix for this, please post.

I am having the same issue.

Thanks

edmoran
Newbie
Posts: 5
Send Message

Post Re: error - valid callback to wp-includes/plugin.php on line 486
on: Feb 28 2012, 11:43 AM

This isn't exactly a fix, but hey.. it worked. I simply reverted back to the original factory wpfclass.php and it ran without errors. There were a number of formatting tweeks that needed to be made, and if necessary I'll let you know what/where they were, but they were CSS tweeks with no code changes at all.

My knowledge of mingle is pretty meager so I can't say that everything will be fine doing this, but I'm able to login and logout, perform all the simpler functions like posting and searching, etc. This move was out of laziness more than anything, I gave it a shot and it seems to work.

good luck!

menacek04
Newbie
Posts: 5
Send Message

Post Re: error - valid callback to wp-includes/plugin.php on line 486
on: Feb 29 2012, 08:01 AM

I have reverted to the original wpf.class.php and that alleviated the issue with the "valid callback" error.

This did leave some issued with the CSS as described though. What tweaks did you make to correct for those?

Thanks Edmoran!

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.33.2 ; Page loaded in: 0.176 seconds.


Shrink, Track, Share, Control ... Dominate