-
Notifications
You must be signed in to change notification settings - Fork 2
Description
I think the issue might have to do with images being loaded before a page is save, however this is just a guess based on function names. Here is some more information
Reason for suspission
In the linked topic soma talks about saving a page before you can load images as the files where the images will be saved to wont exist.
Running the importer a second time by reloading the error page successfully loads the page with no errors.
https://processwire.com/talk/topic/352-creating-pages-via-api/
Stack Trace
(ProcessInstall replacing directory of the project)
( ! ) Notice: Trying to get property of non-object in ProcessInstall/site/modules/ProcessMigrator/ProcessMigrator.module on line 1568
Call Stack
Time Memory Function Location
1 0.0006 292368 {main}( ) .../index.php:0
2 0.0823 10787240 execute ( ) .../index.php:214
3 0.0823 10787592 Wire->__call( ) .../index.php:214
4 0.0823 10787592 Wire->runHooks( ) .../Wire.php:344
5 0.0823 10790248 call_user_func_array:{ProcessInstall/wire/core/Wire.php:389} ( ) .../Wire.php:389
6 0.0823 10790584 ProcessPageView->___execute( ) .../Wire.php:389
7 0.0979 11858528 render ( ) .../ProcessPageView.module:171
8 0.0979 11858712 Wire->__call( ) .../ProcessPageView.module:171
9 0.0979 11858712 Wire->runHooks( ) .../Wire.php:344
10 0.0980 11863696 renderPage ( ) .../Wire.php:411
11 0.0980 11864048 Wire->__call( ) .../Wire.php:411
12 0.0980 11864048 Wire->runHooks( ) .../Wire.php:344
13 0.0980 11866176 call_user_func_array:{ProcessInstall/wire/core/Wire.php:389} ( ) .../Wire.php:389
14 0.0980 11866512 PageRender->___renderPage( ) .../Wire.php:389
15 0.0986 11933672 render ( ) .../PageRender.module:356
16 0.0986 11933856 Wire->__call( ) .../PageRender.module:356
17 0.0986 11933856 Wire->runHooks( ) .../Wire.php:344
18 0.0986 11935984 call_user_func_array:{ProcessInstall/wire/core/Wire.php:389} ( ) .../Wire.php:389
19 0.0986 11936152 TemplateFile->___render( ) .../Wire.php:389
20 0.0987 11962144 require( 'ProcessInstall/site/templates/admin.php' ) .../TemplateFile.php:169
21 0.0987 11963816 require( 'ProcessInstall/wire/modules/AdminTheme/AdminThemeDefault/controller.php' ) .../admin.php:13
22 0.0990 11998728 require( 'ProcessInstall/wire/core/admin.php' ) .../controller.php:13
23 0.1018 12337720 execute ( ) .../admin.php:85
24 0.1018 12337904 Wire->__call( ) .../admin.php:85
25 0.1018 12337904 Wire->runHooks( ) .../Wire.php:344
26 0.1019 12340032 call_user_func_array:{ProcessInstall/wire/core/Wire.php:389} ( ) .../Wire.php:389
27 0.1019 12340200 ProcessController->___execute( ) .../Wire.php:389
28 0.1061 13118384 executeImport ( ) .../ProcessController.php:204
29 0.1061 13118568 Wire->__call( ) .../ProcessController.php:204
30 0.1061 13118568 Wire->runHooks( ) .../Wire.php:344
31 0.1061 13120704 call_user_func_array:{ProcessInstall/wire/core/Wire.php:389} ( ) .../Wire.php:389
32 0.1061 13120872 ProcessMigrator->___executeImport( ) .../Wire.php:389
33 1.5922 15090216 ProcessMigrator->processImportForm2( ) .../ProcessMigrator.module:139
( ! ) Fatal error: Call to a member function get() on a non-object in ProcessInstall/site/modules/ProcessMigrator/ProcessMigrator.module on line 2583
Call Stack
Time Memory Function Location
1 0.0006 292368 {main}( ) .../index.php:0
2 0.0823 10787240 execute ( ) .../index.php:214
3 0.0823 10787592 Wire->__call( ) .../index.php:214
4 0.0823 10787592 Wire->runHooks( ) .../Wire.php:344
5 0.0823 10790248 call_user_func_array:{ProcessInstall/wire/core/Wire.php:389} ( ) .../Wire.php:389
6 0.0823 10790584 ProcessPageView->___execute( ) .../Wire.php:389
7 0.0979 11858528 render ( ) .../ProcessPageView.module:171
8 0.0979 11858712 Wire->__call( ) .../ProcessPageView.module:171
9 0.0979 11858712 Wire->runHooks( ) .../Wire.php:344
10 0.0980 11863696 renderPage ( ) .../Wire.php:411
11 0.0980 11864048 Wire->__call( ) .../Wire.php:411
12 0.0980 11864048 Wire->runHooks( ) .../Wire.php:344
13 0.0980 11866176 call_user_func_array:{ProcessInstall/wire/core/Wire.php:389} ( ) .../Wire.php:389
14 0.0980 11866512 PageRender->___renderPage( ) .../Wire.php:389
15 0.0986 11933672 render ( ) .../PageRender.module:356
16 0.0986 11933856 Wire->__call( ) .../PageRender.module:356
17 0.0986 11933856 Wire->runHooks( ) .../Wire.php:344
18 0.0986 11935984 call_user_func_array:{ProcessInstall/wire/core/Wire.php:389} ( ) .../Wire.php:389
19 0.0986 11936152 TemplateFile->___render( ) .../Wire.php:389
20 0.0987 11962144 require( 'ProcessInstall/site/templates/admin.php' ) .../TemplateFile.php:169
21 0.0987 11963816 require( 'ProcessInstall/wire/modules/AdminTheme/AdminThemeDefault/controller.php' ) .../admin.php:13
22 0.0990 11998728 require( 'ProcessInstall/wire/core/admin.php' ) .../controller.php:13
23 0.1018 12337720 execute ( ) .../admin.php:85
24 0.1018 12337904 Wire->__call( ) .../admin.php:85
25 0.1018 12337904 Wire->runHooks( ) .../Wire.php:344
26 0.1019 12340032 call_user_func_array:{ProcessInstall/wire/core/Wire.php:389} ( ) .../Wire.php:389
27 0.1019 12340200 ProcessController->___execute( ) .../Wire.php:389
28 0.1061 13118384 executeImport ( ) .../ProcessController.php:204
29 0.1061 13118568 Wire->__call( ) .../ProcessController.php:204
30 0.1061 13118568 Wire->runHooks( ) .../Wire.php:344
31 0.1061 13120704 call_user_func_array:{ProcessInstall/wire/core/Wire.php:389} ( ) .../Wire.php:389
32 0.1061 13120872 ProcessMigrator->___executeImport( ) .../Wire.php:389
33 1.5922 15090216 ProcessMigrator->processImportForm2( ) .../ProcessMigrator.module:139
34 11.6868 54486296 ProcessMigrator->idImagePath( ) .../ProcessMigrator.module:1587
Error Message at the bottom of the stack trace:
Error: Call to a member function get() on a non-object (line 2583 of ProcessInstall/site/modules/ProcessMigrator/ProcessMigrator.module)
This error message was shown because site is in debug mode ($config->debug = true; in /site/config.php). Error has been logged.