Drupal 8

mostafax222
36 Posts
mostafax222 posted this 14 March 2018

when add new layer show error :

OS: Darwin Mostafas-MacBook-Air.local 16.7.0 Darwin Kernel Version 16.7.0: Thu Jan 11 22:59:40 PST 2018; root:xnu-3789.73.8~1/RELEASE_X86_64 x86_64 E_NOTICE: A non well formed numeric value encountered /Applications/MAMP/htdocs/mostafa/modules/themler/src/helpers/pclzip/pclzip.lib.php 1845 Callstack: -> PclZip::privOptionDefaultThreshold(array(2) { ... }) -> PclZip::extract(77001, '/Applicati...') -> Chunk::unzip('PK ...') -> Chunk::complete() -> export('untitled', array(7) { ... }) -> themler_export() -> themler_process_request('process_re...') -> Drupal\themler\Controller\ThemlerController::process_request('process_re...') -> call_user_func_array(Drupal\themler\Controller\ThemlerController->process_request, array(1) { ... }) -> Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber::Drupal\Core\EventSubscriber{closure}() -> Drupal\Core\Render\Renderer::executeInRenderContext(Drupal\Core\Render\RenderContext(...) { ... }, Closure(...) { ... }) -> Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber::wrapControllerExecutionInRenderContext(Drupal\themler\Controller\ThemlerController->process_request, array(1) { ... }) -> Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber::Drupal\Core\EventSubscriber{closure}() -> Symfony\Component\HttpKernel\HttpKernel::handleRaw(Symfony\Component\HttpFoundation\Request(...) { ... }, 1) -> Symfony\Component\HttpKernel\HttpKernel::handle(Symfony\Component\HttpFoundation\Request(...) { ... }, 1, true) -> Drupal\Core\StackMiddleware\Session::handle(Symfony\Component\HttpFoundation\Request(...) { ... }, 1, true) -> Drupal\Core\StackMiddleware\KernelPreHandle::handle(Symfony\Component\HttpFoundation\Request(...) { ... }, 1, true) -> Drupal\page_cache\StackMiddleware\PageCache::pass(Symfony\Component\HttpFoundation\Request(...) { ... }, 1, true) -> Drupal\page_cache\StackMiddleware\PageCache::handle(Symfony\Component\HttpFoundation\Request(...) { ... }, 1, true) -> Drupal\Core\StackMiddleware\ReverseProxyMiddleware::handle(Symfony\Component\HttpFoundation\Request(...) { ... }, 1, true) -> Drupal\Core\StackMiddleware\NegotiationMiddleware::handle(Symfony\Component\HttpFoundation\Request(...) { ... }, 1, true) -> Stack\StackedHttpKernel::handle(Symfony\Component\HttpFoundation\Request(...) { ... }, 1, true) -> Drupal\Core\DrupalKernel::handle(Symfony\Component\HttpFoundation\Request(...) { ... })

when add new layer show error : OS: Darwin Mostafas-MacBook-Air.local 16.7.0 Darwin Kernel Version 16.7.0: Thu Jan 11 22:59:40 PST 2018; root:xnu-3789.73.8~1/RELEASE_X86_64 x86_64 E_NOTICE: A non well formed numeric value encountered /Applications/MAMP/htdocs/mostafa/modules/themler/src/helpers/pclzip/pclzip.lib.php 1845 Callstack: -> PclZip::privOptionDefaultThreshold(array(2) { ... }) -> PclZip::extract(77001, '/Applicati...') -> Chunk::unzip('PK ...') -> Chunk::complete() -> export('untitled', array(7) { ... }) -> themler_export() -> themler_process_request('process_re...') -> Drupal\themler\Controller\ThemlerController::process_request('process_re...') -> call_user_func_array(Drupal\themler\Controller\ThemlerController->process_request, array(1) { ... }) -> Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber::Drupal\Core\EventSubscriber\{closure}() -> Drupal\Core\Render\Renderer::executeInRenderContext(Drupal\Core\Render\RenderContext(...) { ... }, Closure(...) { ... }) -> Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber::wrapControllerExecutionInRenderContext(Drupal\themler\Controller\ThemlerController->process_request, array(1) { ... }) -> Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber::Drupal\Core\EventSubscriber\{closure}() -> Symfony\Component\HttpKernel\HttpKernel::handleRaw(Symfony\Component\HttpFoundation\Request(...) { ... }, 1) -> Symfony\Component\HttpKernel\HttpKernel::handle(Symfony\Component\HttpFoundation\Request(...) { ... }, 1, true) -> Drupal\Core\StackMiddleware\Session::handle(Symfony\Component\HttpFoundation\Request(...) { ... }, 1, true) -> Drupal\Core\StackMiddleware\KernelPreHandle::handle(Symfony\Component\HttpFoundation\Request(...) { ... }, 1, true) -> Drupal\page_cache\StackMiddleware\PageCache::pass(Symfony\Component\HttpFoundation\Request(...) { ... }, 1, true) -> Drupal\page_cache\StackMiddleware\PageCache::handle(Symfony\Component\HttpFoundation\Request(...) { ... }, 1, true) -> Drupal\Core\StackMiddleware\ReverseProxyMiddleware::handle(Symfony\Component\HttpFoundation\Request(...) { ... }, 1, true) -> Drupal\Core\StackMiddleware\NegotiationMiddleware::handle(Symfony\Component\HttpFoundation\Request(...) { ... }, 1, true) -> Stack\StackedHttpKernel::handle(Symfony\Component\HttpFoundation\Request(...) { ... }, 1, true) -> Drupal\Core\DrupalKernel::handle(Symfony\Component\HttpFoundation\Request(...) { ... })
Vote to pay developers attention to this features or issue.
3 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 14 March 2018

Hi,

Please try adding the following line around the 1839 line in the
/modules/themler/src/helpers/pclzip/pclzip.lib.php
file:

$v_memory_limit = substr($v_memory_limit, 0, -1);

Does the issue continue?

Thank you,
Olivia

Hi, Please try adding the following line around the 1839 line in the /modules/themler/src/helpers/pclzip/pclzip.lib.php file: `$v_memory_limit = substr($v_memory_limit, 0, -1);` Does the issue continue? Thank you, Olivia
mostafax222
36 Posts
mostafax222 posted this 15 March 2018

working good
Thanks Olivia

working good Thanks Olivia
Support Team
Support Team posted this 15 March 2018

Hi,

Great!
Please use this solution if you encounter this issue with the future projects.

Thank you,
Olivia

Hi, Great! Please use this solution if you encounter this issue with the future projects. Thank you, Olivia
You must log in or register to leave comments