Jump to content

$pages->findIDs Unknown Error


looper
 Share

Recommended Posts

Today I decided to try using $pages->findIDs() for the first time. It tried it in a template using the same selector that is already successfully working in a $pages->find() request. I have also atttempted to use it with a very simple selector eg. $pages->findIDs("template=post").   I have had to remove it from the template since it always comes up with following error:

Quote

Error: Exception: Method Pages::findIDs does not exist or is not callable in this context (in /wire/core/Wire.php line 476)

#0 [internal function]: ProcessWire\Wire->___callUnknown('findIDs', Array)
#1 /wire/core/Wire.php(374): call_user_func_array(Array, Array)
#2 /wire/core/WireHooks.php(549): ProcessWire\Wire->_callMethod('___callUnknown', Array)
#3 /wire/core/Wire.php(399): ProcessWire\WireHooks->runHooks(Object(ProcessWire\Pages), 'callUnknown', Array)
#4 /wire/core/Wire.php(402): ProcessWire\Wire->__call('callUnknown', Array)
#5 /wire/core/Wire.php(402): ProcessWire\Pages->callUnknown('findIDs', Array)
#6 /site/templates/blog.php(51): ProcessWire\Wire->__call('findIDs', Array)
#7 /home/

This error message was shown because: you are logged in as a Superuser. Error has been logged.

The site is using Processwire v3.0.42.

 

Link to comment
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
 Share

×
×
  • Create New...