Jump to content

Friendly URLs messed up in 7.2.1


Si

Recommended Posts

Don't know what happened or when it happened but I never used friendly urls.

 

Now: when you do a search in the knowledgebase - the links on results show an OOPS error page.

 

However: going to knowledgebase.php (hard coded) works.

 

Selecting a category, then an article: works, - but in this format:

index.php?rp=/knowledgebase/269/My-Article.html

 

Selecting knowledgebase from the breadcrumb at the top brings me to this url

index.php?rp=/knowledgebase

 

which DOESN'T WORK. (another oops page)

 

So going to knowledgebase.php works,

going to index.php?rp=/knowledgebase doesn't work YET

index.php?rp=/knowledgebase/269/My_Article.html does.

 

Baffled

Link to comment
Share on other sites

Hi Brian!

Coming here as I didn't want to hijack that thread.

 

no forced index.php in .htaccess file. Also, same issues in six template as well as custom template. Display errors came up with this:

 

exception 'Whoops\Exception\ErrorException' with message 'Call to a member function isHidden() on null' in /home/myusername/public_html/vendor/whmcs/whmcs-foundation/lib/Knowledgebase/Controller/Article.php:0

Stack trace:

#0 /home/myusername/public_html/vendor/filp/whoops/src/Whoops/Run.php(383): Whoops\Run->handleError(1, 'Call to a membe...', '/home/myusername/...', 0)

#1 [internal function]: Whoops\Run->handleShutdown()

#2 {main}

 

Does that mean anything to you?

 

Also, affiliate links no longer work either, but don't display any error. Just a blank page.

Link to comment
Share on other sites

did you try the hotfix ?

 

https://forum.whmcs.com/showthread.php?129326-CORE-11298-Call-to-a-member-function-isHidden()-on-null-Error-On-Knowledgebase&p=517066#post517066

 

An issue has been identified in the 7.2.1 release - published on 16th May, 2017 - that is affecting the ability to view knowledgebase articles via the client area when translations are present.

This manifests itself as an "Oops" page, and the following error:

exception 'Whoops\Exception\ErrorException' with message 'Call to a member function isHidden() on null' in /path/to/whmcs/vendor/whmcs/whmcs-foundation/lib/Knowledgebase/Article.php:0

with regards to affiliate links, I think i'm seeing the same thing on the v7.2.1 dev... though i'm pretty sure they worked when it was v7.1.2 - perhaps another bug? :roll:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated