Jump to content
SoulWolf

Theme/link error message

Recommended Posts

I'm using the Dark Green theme, and when someone posts a link quote to another topic on the forum, it displays this error:

 

Quote

Fatal error: Call to undefined method IPS\Http\Url\Friendly::url() in /home/erken1/public_html/arocalypse/forums/system/Theme/Theme.php(824) : eval()'d code on line 213

 

The error isn't there with the default theme though. I haven't tested others.

Share this post


Link to post
Share on other sites

 

Hmm that is really strange. :)

Looks like Dark Blue does it too, but not Grey...

What is really strange is that line 213 of that file is this:

if ( static::$memberTheme === NULL )

 

Which has nothing to do with Friendly::url

  • Like 1

Share this post


Link to post
Share on other sites

I don't know so I logged a support ticket. I am pretty sure this used to work until a recent update.

  • Like 1

Share this post


Link to post
Share on other sites

Looks like one of those cases where the problem is in another file entirely. Those are always fun.

 

Maybe it's not including the file where Friendly::url is defined for some reason. But I know nothing about IPS specifically, so... I can only guess. :P

Share this post


Link to post
Share on other sites

Support responded that I need to update the theme, however that didn't fix the problem. The theme is no longer supported, so I doubt we'll see a fix for this one... I think what happened is a recent update to IPS required some new code to be added into the theme that isn't there. What's so egregious here is that there is no way to know what the link pointed to. If I get some more time, I'll try to figure this out.

  • Like 2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×