eddietejeda / jiscpress

Automatically exported from code.google.com/p/jiscpress
0 stars 0 forks source link

FATAL ERROR #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Activate plugin on wordpress mu 2.91
2.Parse error: syntax error, unexpected T_IS_EQUAL, expecting ')' in 
/home/huzzaht/public_html/wp-content/plugins/wpmu-related-blogs-and-posts/oryx-
functions.php on line 174
3.I am using buddypress

What is the expected output? What do you see instead?
Parse error: syntax error, unexpected T_IS_EQUAL, expecting ')' in 
/home/huzzaht/public_html/wp-content/plugins/wpmu-related-blogs-and-posts/oryx-
functions.php on line 174

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by brentlev...@gmail.com on 15 Jan 2010 at 3:58

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Fixed, thank you

Original comment by alex.bilbie on 20 Jan 2010 at 2:35

GoogleCodeExporter commented 9 years ago
When you think you fixed all the bugs, please upload the new version so I can 
test it out.

Original comment by brentlev...@gmail.com on 20 Jan 2010 at 5:46

GoogleCodeExporter commented 9 years ago
I pushed a new version to Wordpress plugins repo earlier

http://wordpress.org/extend/plugins/wpmu-related-blogs-and-posts/

Version 1.0.1

If you have any problems, please feel free to report the bugs and I'll update 
it as I
fix them.

Original comment by alex.bilbie on 20 Jan 2010 at 5:57

GoogleCodeExporter commented 9 years ago
Do you actually test your plugins before you post them as updates?  If you did 
test them, you should see that by 
trying to activate them you get errors... this time it was 

Fatal error: Call to undefined function register_sidebar_widget() in 
/home/hazaa/public_html/wp-
content/plugins/wpmu-related-blogs-and-posts/oryx.php on line 112

Original comment by brentlev...@gmail.com on 20 Jan 2010 at 9:16

GoogleCodeExporter commented 9 years ago
When the plugin was first uploaded to the Wordpress repo it was 100% working 
because
it was a direct copy of what is currently running on http://www.jiscpress.org. 
The
bug that I fixed earlier was removing an extra equals sign which was causing a 
problem:

Before fix:
Line 174: function oryx_relationship_create($active, $passive, $relevance == 
FALSE)

After fix:
Line 174: function oryx_relationship_create($active, $passive, $relevance = 
FALSE)

The error you're now receiving is saying that the function 
register_sidebar_widget
doesn't exist. register_sidebar_widget is a WordPress function not one that I've
written, see 
http://codex.wordpress.org/Function_Reference/register_sidebar_widget.

Could you please tell me what version of Wordpress MU you're running and I'll 
have a
look into it. 

Original comment by alex.bilbie on 20 Jan 2010 at 10:21

GoogleCodeExporter commented 9 years ago
I am running two versions of MU - one that tells me the error messages is an 
older one (I don't know the exact 
release but its at least a year and a half old) and the other one is the latest 
version of MU 2.91.

Original comment by brentlev...@gmail.com on 20 Jan 2010 at 10:24

GoogleCodeExporter commented 9 years ago
So there is no problem or error message on your 2.9.1.1 MU install but 
the error is present on your older version of MU? 

You can always see the version number by looking at the bottom of the 
Dashboard. If it's not displaying for some reasons, look at the 
version number in /wp-includes/version.php 

There have been a number of security issues with older versions of 
WordPress, even 2.9.1 should be upgraded to 2.9.1.1 for security 
reasons. If the plugin works for you too, with 2.9.1.1, then that 
might be another good reason to upgrade, no? 

Original comment by jossw...@gmail.com on 21 Jan 2010 at 6:57

GoogleCodeExporter commented 9 years ago

Original comment by jossw...@gmail.com on 21 Jan 2010 at 6:58

GoogleCodeExporter commented 9 years ago
The newest version of Mu 2.91 will not activate the plugin due to an error, 
however unlike the older version of 
Mu it won't tell me what that error is as it appears in the ajax announcements 
bar in the admin panel.

Original comment by brentlev...@gmail.com on 21 Jan 2010 at 1:16

GoogleCodeExporter commented 9 years ago
give me your email address and I will set up an admin account on my Mu site so 
you can see for yourself what 
happens.

Original comment by brentlev...@gmail.com on 21 Jan 2010 at 1:51

GoogleCodeExporter commented 9 years ago
alex.bilbie@gmail.com

Original comment by alex.bilbie on 21 Jan 2010 at 3:38

GoogleCodeExporter commented 9 years ago
did you get my email?

Original comment by brentlev...@gmail.com on 21 Jan 2010 at 8:50