1 hypocrite Mar 15, 2011 08:06
3 fplanque Mar 16, 2011 02:35
How do I reproduce this?
I just uploaded a file on the demo without a problem.
4 hypocrite Mar 16, 2011 07:46
Sorry, was not clear that the error comes when trying to Add/link files, not just upload.
Steps to reproduce:
1. Go to http://demo.b2evolution.net/ and autologin.
2. Click New post
3. Give the post a title and a text.
4. Click Add/link files and the post will be saved.
5. Now clicking on Add/link files won't do nothing.
6. Go to posts list and open the post again.
7. Now click on Add/link files.
Error:
Fatal error: Call to a member function get_next() on a non-object in /home/demo1b5/public_html/stable/inc/files/files.ctrl.php on line 201
You can also try to link files on this post:
http://demo1.b2evolution.net/stable/admin.php?ctrl=items&action=edit&p=32&redirect_to=%2Fstable%2Fadmin.php%3Fblog%3D1%26ctrl%3Ditems%26p%3D32%23item_32
Doesn't work for me.
5 fplanque Mar 17, 2011 02:32
ok, got it. thanks. We're gonna fix that.
6 sam2kb Mar 19, 2011 04:41
7 fplanque Mar 19, 2011 13:58
Yes, your fix will be included in version 4.0.5.
Thanks :)
8 taylor_wei Apr 11, 2012 13:16
Thanks a million, Sam! Your help is much appreciated for a quick fix!
I am getting the same error with the demo:
http://demo1.b2evolution.net/stable/
Should be moved to bug reports.