Jump to content
Peter Knight

Persistent error

Recommended Posts

Occasionally when I goto Modules > Upgrades I get the following type of error.

There's actually about three of them and each one mentions a different line. In the example below, line 266 is

$new = version_compare($versions[$name]['remote'], $versions[$name]['local']);


( ! ) Notice: Undefined index: local in /Users/peterknight/Sites/mysite.com/site/assets/cache/FileCompiler/site/modules/ProcessWireUpgrade/ProcessWireUpgradeCheck.module on line 266
Call Stack
#	Time	Memory	Function	Location
1	0.0011	405040	{main}( )	.../index.php:0
2	0.2602	5197688	ProcessWire\ProcessPageView->execute( )	.../index.php:55
3	0.2602	5198064	ProcessWire\ProcessPageView->__call( )	.../index.php:55
4	0.2602	5198064	ProcessWire\WireHooks->runHooks( )	.../Wire.php:442
5	0.2603	5198480	ProcessWire\ProcessPageView->_callMethod( )	.../WireHooks.php:733
6	0.2603	5198480	ProcessWire\ProcessPageView->___execute( )	.../Wire.php:383
7	0.3009	5463888	ProcessWire\Page->render( )	.../ProcessPageView.module:209
8	0.3009	5463944	ProcessWire\Page->__call( )	.../ProcessPageView.module:209
9	0.3009	5463944	ProcessWire\WireHooks->runHooks( )	.../Wire.php:442
10	0.3015	5465248	ProcessWire\PageRender->renderPage( )	.../WireHooks.php:834
11	0.3015	5465624	ProcessWire\PageRender->__call( )	.../WireHooks.php:834
12	0.3015	5465624	ProcessWire\WireHooks->runHooks( )	.../Wire.php:442
13	0.3016	5466040	ProcessWire\PageRender->_callMethod( )	.../WireHooks.php:733
14	0.3016	5466040	ProcessWire\PageRender->___renderPage( )	.../Wire.php:383
15	0.3032	5470760	ProcessWire\TemplateFile->render( )	.../PageRender.module:514
16	0.3032	5470816	ProcessWire\TemplateFile->__call( )	.../PageRender.module:514
17	0.3032	5470816	ProcessWire\WireHooks->runHooks( )	.../Wire.php:442
18	0.3033	5471848	ProcessWire\TemplateFile->_callMethod( )	.../WireHooks.php:733
19	0.3033	5471848	ProcessWire\TemplateFile->___render( )	.../Wire.php:380
20	0.3036	5493112	require( '/Users/peterknight/Sites/mysite.com/site/assets/cache/FileCompiler/site/templates/admin.php' )	.../TemplateFile.php:287
21	0.3038	5493616	require( '/Users/peterknight/Sites/mysite.com/wire/modules/AdminTheme/AdminThemeUikit/controller.php' )	.../admin.php:15
22	0.3038	5495120	require( '/Users/peterknight/Sites/mysite.com/wire/core/admin.php' )	.../controller.php:15
23	0.3085	5586144	ProcessWire\ProcessController->execute( )	.../admin.php:135
24	0.3085	5586200	ProcessWire\ProcessController->__call( )	.../admin.php:135
25	0.3085	5586200	ProcessWire\WireHooks->runHooks( )	.../Wire.php:442
26	0.3085	5586616	ProcessWire\ProcessController->_callMethod( )	.../WireHooks.php:733
27	0.3085	5586616	ProcessWire\ProcessController->___execute( )	.../Wire.php:380
28	0.3108	5596744	ProcessWireUpgrade->execute( )	.../ProcessController.php:333
29	1.2224	8773000	ProcessWireUpgradeCheck->getVersions( )	.../ProcessWireUpgrade.module:187
30	1.2227	8776256	ProcessWireUpgradeCheck->getModuleVersions( )	.../ProcessWireUpgradeCheck.module:185

I've been living with it for a while and while it doesn't seem to stop me upgrading etc, I'd love to fix it.

Anyone recognise this type of error?

Share this post

Link to post
Share on other sites
26 minutes ago, Peter Knight said:


I don't recall ever having seen this particular error, but I suggest you hit the "clear compiled files" button every once in a while. (at the very bottom of the modules overview page, where it says: "The button below clears compiled site modules and template files, forcing them to be re-compiled the next time they are accessed. Note that this may cause a temporary delay for one or more requests while files are re-compiled.")

  • Like 1

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

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By BFD Calendar
      I'm still wrestling with the upgrade troubles on OVH.com hosting. I manually upgraded to PW 3.0.98 and Upgrade module 0.0.7. Checking upgrades gives me an "Error loading GitHub branches - https://api.github.com/repos/processwire/processwire/branches - HTTP error(s): 2: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version, 2: fsockopen(): Failed to enable crypto, 2: fsockopen(): unable to connect to ssl://api.github.com:443 (Unknown error) - Check that HTTP requests are not blocked by your server.".
      Upgrading or installing other modules doesn't work either. I know it probably has to do with some provider setting on OVH.com, but I've tried several things mentioned in the ProcessWireUpgrade support forum, all to no avail. Server is configured to use PHP 7.0. If anyone here is also on OVH.com and knows a solution I'd be most happy to hear about it.
    • By louisstephens
      So I recently upgraded my sandbox environment to the latest master version from .62(?). I logged in and received the following error:
      "There appear to be multiple copies of module "AdminThemeUikit" on the file system."
      Unfortunately, in my haste, I removed the theme from site->modules so it doesnt exist anymore, and the theme has defaulted somewhat to the old theme. Is there a way to restore UIkit as the theme for processwire natively, or do I need to completely re-install?
    • By prestoav
      Hi all and happy Christmas!
      I have an odd problem upgrading a site from 2.7.2 to 3.0.62. I've never had an issues upgrading PW versions before!
      Here's the error report:
      Fatal error: Exception: Unknown Selector operator: '' -- was your selector value properly escaped? field='1', value='', selector: '1' (in /Applications/MAMP/htdocs/idreamav/wire/core/Selectors.php line 396) #0 /Applications/MAMP/htdocs/idreamav/wire/core/Selectors.php(439): ProcessWire\Selectors->create('1', '', '') #1 /Applications/MAMP/htdocs/idreamav/wire/core/Selectors.php(159): ProcessWire\Selectors->extractString('1') #2 /Applications/MAMP/htdocs/idreamav/wire/core/Selectors.php(145): ProcessWire\Selectors->setSelectorString(Object(ProcessWire\Page)) #3 /Applications/MAMP/htdocs/idreamav/wire/core/PagesLoader.php(217): ProcessWire\Selectors->init(Object(ProcessWire\Page)) #4 /Applications/MAMP/htdocs/idreamav/wire/core/Pages.php(232): ProcessWire\PagesLoader->find(Object(ProcessWire\Page), Array) #5 /Applications/MAMP/htdocs/idreamav/wire/core/Wire.php(386): ProcessWire\Pages->___find(Object(ProcessWire\Page), Array) #6 /Applications/MAMP/htdocs/idreamav/wire/core/WireHooks.php(698): ProcessWire\Wire->_callMethod(' in /Applications/MAMP/htdocs/idreamav/index.php on line 64 For my eyes it looks like a selector format somewhere. I've been through all of the site templates and can; see anything wrong and they were all working under 2.7.2.
      Anyone have any ideas?
    • By mike62
      I am new to ProcessWire; I'm a WordPress developer coming into an existing PW site. I noticed that the site I'm working on is version 2.3 and wanted to upgrade it to the latest version so that I could be sure that the documentation was relevant to me.
      I downloaded v2.8.62 Legacy today and followed the upgrade steps. The backend works fine, but the frontend gives me this error message:
      Error: Exception: Method ProcessWire::getArray does not exist or is not callable in this context (in /home/delucaswpg/webapps/delucas_dev/wire/core/Wire.php line 519) #0 /home/delucaswpg/webapps/delucas_dev/wire/core/Wire.php(386): Wire->___callUnknown('getArray', Array) #1 /home/delucaswpg/webapps/delucas_dev/wire/core/WireHooks.php(698): Wire->_callMethod('___callUnknown', Array) #2 /home/delucaswpg/webapps/delucas_dev/wire/core/Wire.php(442): WireHooks->runHooks(Object(ProcessWire), 'callUnknown', Array) #3 /home/delucaswpg/webapps/delucas_dev/wire/core/ProcessWire.php(587): Wire->__call('callUnknown', Array) #4 /home/delucaswpg/webapps/delucas_dev/wire/core/Wire.php(445): ProcessWire->__call('callUnknown', Array) #5 /home/delucaswpg/webapps/delucas_dev/wire/core/Wire.php(445): ProcessWire->callUnknown('getArray', Array) #6 /home/delucaswpg/webapps/delucas_dev/wire/core/ProcessWire.php(590): Wire->__call('getArray', Array) #7 /home/delucaswpg/webapps/delucas_dev/site/modules/Spex/Spex.module(163): ProcessWire->_ This error message was shown because: you are logged in as a Superuser. Error has been logged. The site is hosted on WebFaction and can be found here: http://dev.delucaswpg.webfactional.com. Any help would be greatly appreciated.
    • By John W.
      Question 1
      I recently installed PW 3.0.62 for a new site and also have sites running older version of PW 3.x.
      Can I export the database on an older version of PW 3.x and import it to PW 3.0.62 without any issues?
      Question 2
      (This is kind of alternative to the above for long term use - and maybe a better solution...)
      On  the sites I've previously built I have templates (home, basic-page, contact) and fields that I commonly use, such as business_name, phone_1.  The last site I built is running PW 3.0.42.  I was considering cloning this into a local site and running the upgrade module to bring it up to PW 3.0.62. From there on out when I start I new project I could just run the PW upgrade module, copy the folder to the location for the new project and duplicate the database using the new projects name.

      So basically, I'll always keep a "blank slate" site that I can just run the PW upgrade on, then duplicate into a new project. This would cut down on the work and time spent having to re-create these common fields, that I use. From there, I would just add fields, templates, etc, specific for the new website project.

      Is this a sound approach to speed up development?

  • Create New...