Recent Topics

[BUG] 2.2.5/2.2.6 - Recent Topics

[BUG] 2.2.5/2.2.6

by Exabot » Sat Dec 09, 2017 8:10 pm

Recent Topics 2.2.5
Enable -> OK and header:

Code: Select all

[phpBB Debug] PHP Notice: in file [ROOT]/ext/paybas/recenttopics/core/recenttopics.php on line 710: Trying to get property of non-object
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Last edited by Exabot on Mon Dec 18, 2017 2:39 pm
Exabot
Translator
Posts: 217
Joined: Sun Jan 18, 2015 8:21 pm
Location: Estonia
Contact:

Re: Trying to get property of non-object ?

by Exabot » Tue Dec 12, 2017 12:43 pm

No one can help?

/includes/functions.php on line 4516:

Code: Select all

header((string) $hname . ': ' . (string) $hval);
/includes/functions.php:3262

Code: Select all

echo '<b>[phpBB Debug] ' . $error_name . '</b>: in file <b>' . $errfile . '</b> on line <b>' . $errline . '</b>: <b>' . $msg_text . '</b><br />' . "\n";
Exabot
Translator
Posts: 217
Joined: Sun Jan 18, 2015 8:21 pm
Location: Estonia
Contact:

Re: Trying to get property of non-object ?

by Exabot » Sun Dec 17, 2017 4:49 pm

What version of phpBB are you using? phpBB 3.2.1
What is your board's URL? https://foorum.vwklubi.ee
Who do you host your board with? zone.ee
How did you install your board? I used the download package from phpBB.com
What is the most recent action performed on your board?Update from a previous version of phpBB3
Is registration required to reproduce this issue? No
Do you have any MODs installed? No
Do you have any extensions installed? Yes
What version of phpBB3 did you update from? phpBB 3.0.10 -> 3.1.10 -> 3.2.1
What extensions do you have installed? Advanced BBCode Box 3.1.4
Advertisement Management 1.0.3
Board Announcements 1.0.6
Board Rules 2.1.1
Cookie Policy (3.2) 2.1.0-rc2
Database Optimize & Repair Tool 1.1.2
External Links Open in New Window 1.0.6
Google Analytics 1.0.3
Google Search & Site Verification 3.2.3
Image Upload 1.0.2
Link menu 1.0.0
LMDI Multilinks 2.0.3
Max-width switch 1.0.1
OneAll Social Login 3.4
Pages 2.0.2
Posting Template 1.0.0
Recent Topics 2.2.6
Search user topics 1.0.2
Site logo (3.2) 2.1.0-rc6
Tabbed stat-block 1.0.1
Thanks for posts 3.0.7
What styles do you currently have installed? Prosilver 3.2.1, Prosilver Special Edition 3.2.1, Lucid Lime 1.2.0
What language(s) is your board currently using? Estonia
Which database type/version are you using? MySQL 5.0
What actions did you take (updating your board; installing a MOD, style or extension; etc.) prior to this problem becoming noticeable? Recent Topics 2.2.5 and 2.2.6 same header bug. New install does not help.

Recent Topics 2.2.5/2.2.6 bug
296760EF-6BB3-41F2-BA36-12B74B9266DC.png
Exabot
Translator
Posts: 217
Joined: Sun Jan 18, 2015 8:21 pm
Location: Estonia
Contact:

Re: [BUG] 2.2.5/2.2.6

by Exabot » Tue Dec 19, 2017 10:51 pm

ext/paybas/recenttopics/core/recenttopics.php
$start = min($result->num_rows - 1 , $start);

Change: $start = 0;
Exabot
Translator
Posts: 217
Joined: Sun Jan 18, 2015 8:21 pm
Location: Estonia
Contact:

Re: [BUG] 2.2.5/2.2.6

by Sajaki » Sat Dec 23, 2017 10:34 pm

You can apply this change
https://github.com/Sajaki/RecentTopics/ ... 25809971a5
This should fix your issue even though i couldn't reproduce it.
User avatar
Sajaki
Registered User
Posts: 1390
Joined: Mon Mar 02, 2009 1:41 pm
Location: Amsterdam
Contact:

Re: [BUG] 2.2.5/2.2.6

by Exabot » Thu Dec 28, 2017 2:04 pm

Thanks!
Exabot
Translator
Posts: 217
Joined: Sun Jan 18, 2015 8:21 pm
Location: Estonia
Contact: