RuntimeException [500]

Failed to open stream "E:/Domains/ccwro.org/httpdocs/wp-content/foliolabs-files/docman-files/" with mode "rb"
E:\Domains\ccwro.org\httpdocs\wp-content\plugins\foliokit\library\filesystem\stream\abstract.php:200
195                 $this->_resource = false;
196             }
197 
198             if ($this->_resource === false)
199             {
200                 throw new \RuntimeException(sprintf(
201                     'Failed to open stream "%s" with mode "%s"', $path, $this->getMode()
202                 ));
203             }
204 
205             return true;

Foliolabs\Library\FilesystemStreamAbstract->open()

E:\Domains\ccwro.org\httpdocs\wp-content\plugins\foliokit\library\filesystem\stream\factory.php:140
135             );
136         }
137 
138         //Automatically open the stream
139         try {
140             $stream->open();
141         } catch (\BadMethodCallException $e) {
142             //Do nothing if the stream doesn't support open
143         }
144 
145         return $stream;

Foliolabs\Library\FilesystemStreamFactory->createStream()

E:\Domains\ccwro.org\httpdocs\wp-content\plugins\foliokit\library\dispatcher\response\abstract.php:189
184             if(!is_string($content) || !$this->getObject('filter.path')->validate($content))
185             {
186                 $stream = $factory->createStream('foliokit-buffer://memory', 'w+b');
187                 $stream->write($content);
188             }
189             else $stream = $factory->createStream($content, 'rb');
190 
191             $this->__stream = $stream;
192         }
193 
194         return $this->__stream;

Foliolabs\Library\DispatcherResponseAbstract->getStream()

E:\Domains\ccwro.org\httpdocs\wp-content\plugins\foliokit\library\dispatcher\response\abstract.php:393
388      *
389      * @return bool
390      */
391     public function isDownloadable()
392     {
393         if($this->isSuccess() && $this->getStream()->getType() == 'file') {
394             return true;
395         }
396 
397         return false;
398     }

Foliolabs\Library\DispatcherResponseAbstract->isDownloadable()

E:\Domains\ccwro.org\httpdocs\wp-content\plugins\foliokit\component\base\dispatcher\behavior\decoratable.php:46
41             }
42 
43             return;
44         }
45         else if (($request->isFormSubmit() || $request->isGet()) && !$request->isAjax()) {
46             if(!$response->isDownloadable() && !$response->isRedirect())
47             {
48                 //Render the page
49                 $this->_content = $result = $this->getObject('com:base.controller.document',  ['response' => $response])
50                     ->layout($this->getDecorator())
51                     ->render();

Foliolabs\Component\Base\DispatcherBehaviorDecoratable->_beforeSend()

E:\Domains\ccwro.org\httpdocs\wp-content\plugins\foliokit\library\command\callback\abstract.php:120
115      * @param CommandInterface  $command   The command
116      * @return mixed Return the result of the handler.
117      */
118     public function invokeCommandCallback($method, CommandInterface $command)
119     {
120         return $this->$method($command);
121     }
122 
123     /**
124      * Add a callback
125      *

Foliolabs\Library\CommandCallbackAbstract->invokeCommandCallback()

E:\Domains\ccwro.org\httpdocs\wp-content\plugins\foliokit\library\command\callback\abstract.php:100
 95         {
 96             $method = $handler['method'];
 97             $params = $handler['params'];
 98 
 99             if(is_string($method)) {
100                 $result = $this->invokeCommandCallback($method, $command->append($params));
101             } else {
102                 $result = $method($command->append($params));
103             }
104 
105             if($result !== null && $result === $this->getBreakCondition()) {

Foliolabs\Library\CommandCallbackAbstract->invokeCallbacks()

E:\Domains\ccwro.org\httpdocs\wp-content\plugins\foliokit\library\behavior\abstract.php:121
116      * @param CommandChainInterface    $chain      The chain executing the command
117      * @return mixed If a handler breaks, returns the break condition. Returns the result of the handler otherwise.
118      */
119     public function execute(CommandInterface $command, CommandChainInterface $chain)
120     {
121         return parent::invokeCallbacks($command);
122     }
123 
124     /**
125      * Add a command callback
126      *

Foliolabs\Library\BehaviorAbstract->execute()

E:\Domains\ccwro.org\httpdocs\wp-content\plugins\foliokit\library\command\chain\chain.php:130
125                 $command->setSubject($subject);
126             }
127 
128             foreach ($this->__stack->peek() as $handler)
129             {
130                 $result = $handler->execute($command, $this);
131 
132                 if($result === $this->getBreakCondition()) {
133                     break;
134                 }
135             }

Foliolabs\Library\CommandChain->execute()

E:\Domains\ccwro.org\httpdocs\wp-content\plugins\foliokit\library\command\mixin\mixin.php:141
136     public function invokeCommand($command, $attributes = null, $subject = null)
137     {
138         //Default the subject to the mixer
139         $subject = $subject ?: $this->getMixer();
140 
141         return $this->getCommandChain()->execute($command, $attributes, $subject);
142     }
143 
144     /**
145      * Invoke a command callback or delegate invocation to the mixer
146      *

Foliolabs\Library\CommandMixin->invokeCommand()

E:\Domains\ccwro.org\httpdocs\wp-content\plugins\foliokit\library\object\abstract.php:402
397                 $mixin = $this->__mixed_methods[$method];
398 
399                 //Switch the mixin's attached mixer
400                 $mixin->setMixer($this);
401 
402                 $result = $mixin->$method(...$arguments);
403             }
404             else $result = $this->__mixed_methods[$method];
405 
406             return $result;
407         }

Foliolabs\Library\ObjectAbstract->__call()

E:\Domains\ccwro.org\httpdocs\wp-content\plugins\foliokit\library\controller\abstract.php:397
392             if ($parts[0] == 'is' && isset($parts[1])) {
393                 return false;
394             }
395         }
396 
397         return parent::__call($method, $args);
398     }
399 }

Foliolabs\Library\ControllerAbstract->__call()

E:\Domains\ccwro.org\httpdocs\wp-content\plugins\foliokit\library\controller\abstract.php:121
116         //Retrieve the context name and subject
117         $subject = $context->getSubject();
118         $name    = $context->getName();
119 
120         //Execute the action
121         if($this->invokeCommand('before.'.$action, $context) !== false)
122         {
123             $method = '_action' . ucfirst($action);
124 
125             if (!method_exists($this, $method))
126             {

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\dispatcher\dispatcher.php:143
138             }
139         }
140 
141         //Send the response
142         if (!$this->isForwarded()) {
143             $this->send($context);
144         }
145     }
146 
147     /**
148      * Get method

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! -