Foliolabs\Library\ControllerExceptionResourceNotFound [404]

File not found
E:\Domains\ccwro.org\httpdocs\wp-content\plugins\foliolabs-docman\site\controller\download.php:77
72                     }
73                     catch (\InvalidArgumentException $e) {
74                         throw new Library\ControllerExceptionResourceNotFound('File not found');
75                     }
76                 }
77                 else  throw new Library\ControllerExceptionResourceNotFound('File not found');
78             }
79             else throw new \RuntimeException('Stream wrapper is missing');
80         }
81         else throw new Library\ControllerExceptionResourceNotFound('Document not found');
82     }

Foliolabs\Docman\Site\ControllerDownload->_actionDownload()

E:\Domains\ccwro.org\httpdocs\wp-content\plugins\foliokit\library\controller\abstract.php:135
130                         "Can't execute '$action', method: '$method' does not exist"
131                     );
132                 }
133                 else $context->result = parent::__call($action, array($context));
134             }
135             else  $context->result = $this->$method($context);
136 
137             $this->invokeCommand('after.'.$action, $context);
138         }
139 
140         //Reset the context

Foliolabs\Library\ControllerAbstract->execute()

E:\Domains\ccwro.org\httpdocs\wp-content\plugins\foliokit\library\controller\abstract.php:384
379                 $context->result = false;
380             }
381             else $context = $data;
382 
383             //Execute the action
384             return $this->execute($method, $context);
385         }
386 
387         if (!$this->isMixedMethod($method))
388         {
389             //Check if a behavior is mixed

Foliolabs\Library\ControllerAbstract->__call()

E:\Domains\ccwro.org\httpdocs\wp-content\plugins\foliokit\library\controller\view.php:227
222 
223                 return $this;
224             }
225         }
226 
227         return parent::__call($method, $args);
228     }
229 }

Foliolabs\Library\ControllerView->__call()

E:\Domains\ccwro.org\httpdocs\wp-content\plugins\foliokit\library\controller\model.php:454
449 
450                 return $this;
451             }
452         }
453 
454         return parent::__call($method, $args);
455     }
456 }

Foliolabs\Library\ControllerModel->__call()

E:\Domains\ccwro.org\httpdocs\wp-content\plugins\foliolabs-docman\site\controller\download.php:43
38         }
39     }
40 
41     protected function _actionRender(Library\ControllerContext $context)
42     {
43         $this->download($context);
44     }
45 
46     protected function _actionDownload(Library\ControllerContext $context)
47     {
48         $document = $context->getEntity();

Foliolabs\Docman\Site\ControllerDownload->_actionRender()

E:\Domains\ccwro.org\httpdocs\wp-content\plugins\foliokit\library\controller\abstract.php:135
130                         "Can't execute '$action', method: '$method' does not exist"
131                     );
132                 }
133                 else $context->result = parent::__call($action, array($context));
134             }
135             else  $context->result = $this->$method($context);
136 
137             $this->invokeCommand('after.'.$action, $context);
138         }
139 
140         //Reset the context

Foliolabs\Library\ControllerAbstract->execute()

E:\Domains\ccwro.org\httpdocs\wp-content\plugins\foliokit\library\dispatcher\dispatcher.php:162
157     protected function _actionGet(DispatcherContext $context)
158     {
159         $controller = $this->getController();
160 
161         if($controller instanceof ControllerViewable) {
162             $result = $controller->execute('render', $controller->getContext($context));
163         } else {
164             throw new DispatcherExceptionMethodNotAllowed('Method GET not allowed');
165         }
166 
167         return $result;

Foliolabs\Library\Dispatcher->_actionGet()

E:\Domains\ccwro.org\httpdocs\wp-content\plugins\foliokit\library\controller\abstract.php:135
130                         "Can't execute '$action', method: '$method' does not exist"
131                     );
132                 }
133                 else $context->result = parent::__call($action, array($context));
134             }
135             else  $context->result = $this->$method($context);
136 
137             $this->invokeCommand('after.'.$action, $context);
138         }
139 
140         //Reset the context

Foliolabs\Library\ControllerAbstract->execute()

E:\Domains\ccwro.org\httpdocs\wp-content\plugins\foliokit\library\dispatcher\dispatcher.php:125
120                 throw new ControllerExceptionRequestInvalid('Action not found');
121             }
122 
123             $controller->execute($action, $controller->getContext($context));
124         }
125         else $this->execute(strtolower($context->request->getMethod()), $context);
126 
127         //Set the result in the response
128         if($context->result && !$context->response->isRedirect())
129         {
130             $result = $context->result;

Foliolabs\Library\Dispatcher->_actionDispatch()

E:\Domains\ccwro.org\httpdocs\wp-content\plugins\foliokit\component\base\dispatcher\dispatcher.php:117
112         $session = $this->getUser()->getSession();
113 
114         //Set the response messages
115         $context->response->setMessages($session->getContainer('message')->all());
116 
117         return parent::_actionDispatch($context);
118     }
119 }

Foliolabs\Component\Base\Dispatcher->_actionDispatch()

E:\Domains\ccwro.org\httpdocs\wp-content\plugins\foliokit\library\controller\abstract.php:135
130                         "Can't execute '$action', method: '$method' does not exist"
131                     );
132                 }
133                 else $context->result = parent::__call($action, array($context));
134             }
135             else  $context->result = $this->$method($context);
136 
137             $this->invokeCommand('after.'.$action, $context);
138         }
139 
140         //Reset the context

Foliolabs\Library\ControllerAbstract->execute()

E:\Domains\ccwro.org\httpdocs\wp-content\plugins\foliokit\library\controller\abstract.php:384
379                 $context->result = false;
380             }
381             else $context = $data;
382 
383             //Execute the action
384             return $this->execute($method, $context);
385         }
386 
387         if (!$this->isMixedMethod($method))
388         {
389             //Check if a behavior is mixed

Foliolabs\Library\ControllerAbstract->__call()

E:\Domains\ccwro.org\httpdocs\wp-content\plugins\foliokit\component\base\dispatcher\page.php:185
180 							'blocks'  => $context->param->block ? [$context->param->block] : $this->getConfig()->blocks
181 							//'endpoint' => $context->param->endpoint ?? false
182 						]);
183                     }
184 
185                     $dispatcher->dispatch();
186                 }
187             }
188         }
189         catch (\Exception $e)
190         {

Foliolabs\Component\Base\DispatcherPage->_actionDispatch()

E:\Domains\ccwro.org\httpdocs\wp-content\plugins\foliokit\library\controller\abstract.php:135
130                         "Can't execute '$action', method: '$method' does not exist"
131                     );
132                 }
133                 else $context->result = parent::__call($action, array($context));
134             }
135             else  $context->result = $this->$method($context);
136 
137             $this->invokeCommand('after.'.$action, $context);
138         }
139 
140         //Reset the context

Foliolabs\Library\ControllerAbstract->execute()

E:\Domains\ccwro.org\httpdocs\wp-content\plugins\foliokit\library\controller\abstract.php:384
379                 $context->result = false;
380             }
381             else $context = $data;
382 
383             //Execute the action
384             return $this->execute($method, $context);
385         }
386 
387         if (!$this->isMixedMethod($method))
388         {
389             //Check if a behavior is mixed

Foliolabs\Library\ControllerAbstract->__call()

E:\Domains\ccwro.org\httpdocs\wp-content\plugins\foliokit\component\base\dispatcher\page.php:289
284                     $route['endpoint'] = trim($path, '/');
285 
286                     $request = $this->getObject('request');
287                     $request->getQuery()->add($route);
288 
289                     $this->dispatch();
290 
291                     $content = $this->render();
292 
293                     $post = new \Foliolabs\WP\Post( (object) [
294                         'ID'             => 0,

Foliolabs\Component\Base\DispatcherPage->Foliolabs\Component\Base\{closure}()

E:\Domains\ccwro.org\httpdocs\wp-includes\class-wp-hook.php:326
321 				if ( 0 === $the_['accepted_args'] ) {
322 					$value = call_user_func( $the_['function'] );
323 				} elseif ( $the_['accepted_args'] >= $num_args ) {
324 					$value = call_user_func_array( $the_['function'], $args );
325 				} else {
326 					$value = call_user_func_array( $the_['function'], array_slice( $args, 0, $the_['accepted_args'] ) );
327 				}
328 			}
329 		} while ( false !== next( $this->iterations[ $nesting_level ] ) );
330 
331 		unset( $this->iterations[ $nesting_level ] );

WP_Hook->apply_filters()

E:\Domains\ccwro.org\httpdocs\wp-includes\plugin.php:205
200 	}
201 
202 	// Pass the value to WP_Hook.
203 	array_unshift( $args, $value );
204 
205 	$filtered = $wp_filter[ $hook_name ]->apply_filters( $value, $args );
206 
207 	array_pop( $wp_current_filter );
208 
209 	return $filtered;
210 }

apply_filters()

E:\Domains\ccwro.org\httpdocs\wp-includes\class-wp.php:148
143 		 *
144 		 * @param bool         $bool             Whether or not to parse the request. Default true.
145 		 * @param WP           $wp               Current WordPress environment instance.
146 		 * @param array|string $extra_query_vars Extra passed query variables.
147 		 */
148 		if ( ! apply_filters( 'do_parse_request', true, $this, $extra_query_vars ) ) {
149 			return false;
150 		}
151 
152 		$this->query_vars     = array();
153 		$post_type_query_vars = array();

WP->parse_request()

E:\Domains\ccwro.org\httpdocs\wp-includes\class-wp.php:813
808 	 * @param string|array $query_args Passed to parse_request().
809 	 */
810 	public function main( $query_args = '' ) {
811 		$this->init();
812 
813 		$parsed = $this->parse_request( $query_args );
814 
815 		if ( $parsed ) {
816 			$this->query_posts();
817 			$this->handle_404();
818 			$this->register_globals();

WP->main()

E:\Domains\ccwro.org\httpdocs\wp-includes\functions.php:1336
1331  * @param string|array $query_vars Default WP_Query arguments.
1332  */
1333 function wp( $query_vars = '' ) {
1334 	global $wp, $wp_query, $wp_the_query;
1335 
1336 	$wp->main( $query_vars );
1337 
1338 	if ( ! isset( $wp_the_query ) ) {
1339 		$wp_the_query = $wp_query;
1340 	}
1341 }

wp()

E:\Domains\ccwro.org\httpdocs\wp-blog-header.php:16
11 
12 	// Load the WordPress library.
13 	require_once __DIR__ . '/wp-load.php';
14 
15 	// Set up the WordPress query.
16 	wp();
17 
18 	// Load the theme template.
19 	require_once ABSPATH . WPINC . '/template-loader.php';
20 
21 }

require()

E:\Domains\ccwro.org\httpdocs\index.php:17
12  * @var bool
13  */
14 define( 'WP_USE_THEMES', true );
15 
16 /** Loads the WordPress Environment and Template */
17 require __DIR__ . '/wp-blog-header.php';

Arguments

0
string(48) "E:\Domains\ccwro.org\httpdocs\wp-blog-header.php"
- That's it! -