Jump to content

Recommended Posts

Posted

Just recently I'm getting errors when viewing or editing product pages, still using Padloper 1.3.0 on PW 3.0.123 with no recent upgrades or changes.

When just trying to access a page the error is 

Error: Exception: Method Field::getContext does not exist or is not callable in this context (in /home/mekanoinsa/www/wire/core/Wire.php line 519)

When trying to edit the error is

Error: Exception: Method Field::getContext does not exist or is not callable in this context (in /home/mekanoinsa/www/wire/core/Wire.php line 519) #0 /home/mekanoinsa/www/wire/core/Wire.php(386): ProcessWire\Wire->___callUnknown('getContext', Array) #1 /home/mekanoinsa/www/wire/core/WireHooks.php(723): ProcessWire\Wire->_callMethod('___callUnknown', Array) #2 /home/mekanoinsa/www/wire/core/Wire.php(442): ProcessWire\WireHooks->runHooks(Object(ProcessWire\Field), 'callUnknown', Array) #3 /home/mekanoinsa/www/wire/core/Wire.php(445): ProcessWire\Wire->__call('callUnknown', Array) #4 /home/mekanoinsa/www/site/modules/FieldtypeQRCode/FieldtypeQRCode.module(326): ProcessWire\Wire->__call('getContext', Array) #5 /home/mekanoinsa/www/wire/core/Wire.php(389): ProcessWire\FieldtypeQRCode->___wakeupValue(Object(ProcessWire\Page), Object(ProcessWire\Field), '') #6 /home/mekanoinsa/www/wire/core/Wire.php(416): ProcessWire\Wire->_callMethod('___wakeupValue', Array) #7 /home/mekanoinsa/www/wire/core/Page.php(1422): ProcessWire\W

Any idea what's going on?

Posted

By trial and error I managed to solve the issue. I had a 'qrcode' field on the product template and for some reason that didn't work. By removing the field in the PW template and the php file and even removing the module the error was gone.

No idea what one had to do with the other but anyway, problem solved.

  • Like 1

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
  • Recently Browsing   0 members

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