Is this simply a compatibility issue? I just noticed that papercite is only compatible up to 3.6.
No, it should work. If you could enable wordpress debug, and send me the messages, it would be helpful to resolve this problem – see how to use WP_DEBUG in
http://codex.wordpress.org/Debugging_in_WordPress
For the wordpress version, I have a website running with the latest version of WordPress and there is no problem with this plugin.
Hi,
Thanks for the quick reply. Based on the debugging, I think there may have been some compatibility issues or some other problem with other plugins I had installed. I deactivated all of them and then reactivated papercite–that fixed the problem. When I then also reactivated the plugin teachpress, it returned this error:
Fatal error: Cannot redeclare class PARSECREATORS in /home/gdsaxton/webapps/cybermetrics/wp-content/plugins/papercite/lib/PARSECREATORS.php on line 23
I’m also sometimes getting this error:
Notice: Trying to get property of non-object in /home/gdsaxton/webapps/cybermetrics/wp-includes/post-template.php on line 29
So, it is working but I likely have some other problems with the site. I am just testing out a variety of different plugins and themes now in preparation for going live. I guess some things aren’t playing nicely together? In any case, I appreciate your looking at it. Thanks.
OK, thanks – I guess the problem is that teachpress is using the OSBib parser too. I opened a bug report on github so you can track this bug:
https://github.com/bpiwowar/papercite/issues/79
Version 0.5.7 should fix this
I upgraded and it seems to work now. There is still a problem with the citeulike code. When I put this in a post:
[bibtex file=http://www.citeulike.org/bibtex/user/gregorydsaxton]
I get this error message:
Warning: Invalid argument supplied for foreach() in /home/gdsaxton/webapps/cybermetrics/wp-content/plugins/papercite/papercite.php on line 822
Any ideas? Thanks again for your help with this. Much appreciated.
Hi, it would help if again you set the debug mode on and copy & paste the messages. Please also report to github so I can track easily the bugs:
https://github.com/bpiwowar/papercite/issues?state=open
(new issue button is at the top right)
No problem. Here are all the messages that show up when I include the citeulike bib in a post: [bibtex file=http://www.citeulike.org/bibtex/user/gregorydsaxton]
Warning: Invalid argument supplied for foreach() in /home/gdsaxton/webapps/cybermetrics/wp-content/plugins/papercite/papercite.php on line 822
Warning: Invalid argument supplied for foreach() in /home/gdsaxton/webapps/cybermetrics/wp-content/plugins/papercite/papercite.php on line 832
Warning: Invalid argument supplied for foreach() in /home/gdsaxton/webapps/cybermetrics/wp-content/plugins/papercite/bib2tpl/bibtex_converter.php on line 259
Warning: Invalid argument supplied for foreach() in /home/gdsaxton/webapps/cybermetrics/wp-content/plugins/papercite/bib2tpl/bibtex_converter.php on line 274
Warning: Invalid argument supplied for foreach() in /home/gdsaxton/webapps/cybermetrics/wp-content/plugins/papercite/bib2tpl/bibtex_converter.php on line 511