dragonexpert / recentthreads

Adds a section to your index page for recent threads.
Other
8 stars 2 forks source link

php error ACP plugin page #48

Closed Eldenroot closed 5 years ago

Eldenroot commented 5 years ago

image

dragonexpert commented 5 years ago

I don't have a test site ready yet, but go to the end of line 7 of inc/plugins/recentthread.php. Line 8 use this: var_dump($my_plugins); Line 9 put this: die(); This will stop script execution at that point. It may be that the structure of the plugin cache changed from when I last updated. Let me know what it says.

Eldenroot commented 5 years ago

There is no error message on php 7.1, so I will test tommorow again on the older test board where I run php 5.6.x and let you know. Thank you for your reply!

dragonexpert commented 5 years ago

There shouldn't be an error if you modified it, but it should say array and a bunch of values which is what I need.

dragonexpert commented 5 years ago

I set up a test environment that currently has 7.3.1 for php version. I get no errors when I used the code that is currently on Github.

dragonexpert commented 5 years ago

So I just switched to PHP 5.6 and it still doesn't show an error for me. I also tried using Deactivate so my plugin cache would be empty and don't get the error.

Eldenroot commented 5 years ago

I cannot reproduce it again (tested again with php 5.6.x). I am closing this one :(