Início >  SAÚDE FAMILIAR > CONTRACEPÇÃO DE EMERGÊNCIA > ELLAONE 30MG 1 COMP REV

ELLAONE 30MG 1 COMP REV

ELLAONE 30MG 1 COMP REV

CNP: 5734876

 

26.20 €

yii\base\ErrorException
Copied! Copy Stacktrace Search Stackoverflow Search Google Error

PHP Fatal Erroryii\base\ErrorException

Class 'Smalot\PdfParser\Element' not found

  • 1. in C:\wamp\www\mymed24-infarmed\prod\html\common\components\modulos\util\PdfParser\Element\ElementStruct.php at line 40
    31323334353637383940414243444546474849
                        namespace Smalot\PdfParser\Element;
     
    use Smalot\PdfParser\Document;
    use Smalot\PdfParser\Element;
    use Smalot\PdfParser\Header;
     
    /**
     * Class ElementStruct
     */
    class ElementStruct extends Element
    {
        /**
         * @return false|Header
         */
        public static function parse(string $content, ?Document $document = null, int &$offset = 0)
        {
            if (preg_match('/^\s*<<(?P<struct>.*)/is', $content)) {
                preg_match_all('/(.*?)(<<|>>)/s', trim($content), $matches);
     
                    
  • 2. in C:\wamp\www\mymed24-infarmed\prod\html\common\components\modulos\util\PdfParser\Header.php at line 175 yii\BaseYii::autoload()
    169170171172173174175176177178179180181
                             * @param int      $position The new position of the cursor after parsing
         */
        public static function parse(string $content, Document $document, int &$position = 0): self
        {
            /* @var Header $header */
            if ('<<' == substr(trim($content), 0, 2)) {
                $header = ElementStruct::parse($content, $document, $position);
            } else {
                $elements = ElementArray::parse($content, $document, $position);
                $header = new self([], $document);
     
                if ($elements) {
                    $header = new self($elements->getRawContent(), null);
                    
  • 3. in C:\wamp\www\mymed24-infarmed\prod\html\common\components\modulos\util\PdfParser\Header.php at line 175 – spl_autoload_call()
    169170171172173174175176177178179180181
                             * @param int      $position The new position of the cursor after parsing
         */
        public static function parse(string $content, Document $document, int &$position = 0): self
        {
            /* @var Header $header */
            if ('<<' == substr(trim($content), 0, 2)) {
                $header = ElementStruct::parse($content, $document, $position);
            } else {
                $elements = ElementArray::parse($content, $document, $position);
                $header = new self([], $document);
     
                if ($elements) {
                    $header = new self($elements->getRawContent(), null);
                    
  • 4. in C:\wamp\www\mymed24-infarmed\prod\html\common\components\modulos\util\PdfParser\Parser.php at line 207 – common\components\modulos\util\PdfParser\Header::parse()
    201202203204205206207208209210211212213
                         
                            foreach ($positions as $index => $position) {
                                $id = $ids[$index].'_0';
                                $next_position = isset($positions[$index + 1]) ? $positions[$index + 1] : \strlen($content);
                                $sub_content = substr($content, $position, (int) $next_position - (int) $position);
     
                                $sub_header = Header::parse($sub_content, $document);
                                $object = PDFObject::factory($document, $sub_header, '', $this->config);
                                $this->objects[$id] = $object;
                            }
     
                            // It is not necessary to store this content.
     
                    
  • 5. in C:\wamp\www\mymed24-infarmed\prod\html\common\components\modulos\util\PdfParser\Parser.php at line 115 – common\components\modulos\util\PdfParser\Parser::parseObject()
    109110111112113114115116117118119120121
                         
            // Create destination object.
            $document = new Document();
            $this->objects = [];
     
            foreach ($data as $id => $structure) {
                $this->parseObject($id, $structure, $document);
                unset($data[$id]);
            }
     
            $document->setTrailer($this->parseTrailer($xref['trailer'], $document));
            $document->setObjects($this->objects);
     
                    
  • 6. in C:\wamp\www\mymed24-infarmed\prod\html\common\components\modulos\util\PdfParser\Parser.php at line 88 – common\components\modulos\util\PdfParser\Parser::parseContent()
    82838485868788899091929394
                                 * to remove the error control operator (@) and
             * let the users know that the method throws an exception
             * by adding @throws tag to PHPDoc.
             *
             * See here for an example: https://github.com/smalot/pdfparser/issues/204
             */
            return $this->parseContent($content);
        }
     
        /**
         * @param string $content PDF content to parse
         *
         * @throws \Exception if secured PDF file was detected
                    
  • 7. in C:\wamp\www\mymed24-infarmed\prod\html\api\models\Produto.php at line 48 – common\components\modulos\util\PdfParser\Parser::parseFile()
    42434445464748495051525354
                        		$a->setFilename($url);
    		$a->decodePDF();
    		$pdf =  $a->output(false);
    		var_dump($url, $pdf);die;*/
    		try {
    			$parser = new \common\components\modulos\util\PdfParser\Parser();
    			$pdf = $parser->parseFile($url);
    			$text = $pdf->getText();
    			$i = 0;
    			$arrayTitles = [];
    			$firstTitle = false;
    			echo '<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">';
    				foreach(preg_split("/((\r?\n)|(\r\n?))/", $text) as $numLine => $line){
                    
  • 8. in C:\wamp\www\mymed24-infarmed\prod\html\api\controllers\InfarmedController.php at line 43 – app\models\Produto::extrarInfoPdf()
    37383940414243444546474849
                         
        }
     
        public function actionGetProdutoBula($guid){
            \Yii::$app->response->format = \yii\web\Response::FORMAT_HTML;
            $model = new Produto;
            echo $model->extrarInfoPdf($guid);
        }
     
     
        public function actionGetProdutosUpdated($data){ //data para filtro (ultima data mais recente registada)
            $model = new Produto;
            return $model->getProdutosUpdated($data);
                    
  • 9. in C:\wamp\www\mymed24-infarmed\prod\html\vendor\yiisoft\yii2\base\InlineAction.php at line 57 – app\controllers\InfarmedController::actionGetProdutoBula()
    515253545556575859
                                $args = $this->controller->bindActionParams($this, $params);
            Yii::debug('Running action: ' . get_class($this->controller) . '::' . $this->actionMethod . '()', __METHOD__);
            if (Yii::$app->requestedParams === null) {
                Yii::$app->requestedParams = $args;
            }
     
            return call_user_func_array([$this->controller, $this->actionMethod], $args);
        }
    }
                    
  • 10. in C:\wamp\www\mymed24-infarmed\prod\html\vendor\yiisoft\yii2\base\InlineAction.php at line 57 – call_user_func_array:{C:\wamp\www\mymed24-infarmed\prod\html\vendor\yiisoft\yii2\base\InlineAction.php:57}()
    515253545556575859
                                $args = $this->controller->bindActionParams($this, $params);
            Yii::debug('Running action: ' . get_class($this->controller) . '::' . $this->actionMethod . '()', __METHOD__);
            if (Yii::$app->requestedParams === null) {
                Yii::$app->requestedParams = $args;
            }
     
            return call_user_func_array([$this->controller, $this->actionMethod], $args);
        }
    }
                    
  • 11. in C:\wamp\www\mymed24-infarmed\prod\html\vendor\yiisoft\yii2\base\Controller.php at line 157 yii\base\InlineAction::runWithParams()
    151152153154155156157158159160161162163
                                }
     
            $result = null;
     
            if ($runAction && $this->beforeAction($action)) {
                // run the action
                $result = $action->runWithParams($params);
     
                $result = $this->afterAction($action, $result);
     
                // call afterAction on modules
                foreach ($modules as $module) {
                    /* @var $module Module */
                    
  • 12. in C:\wamp\www\mymed24-infarmed\prod\html\vendor\yiisoft\yii2\base\Module.php at line 528 – app\controllers\InfarmedController::runAction()
    522523524525526527528529530531532533534
                                $parts = $this->createController($route);
            if (is_array($parts)) {
                /* @var $controller Controller */
                list($controller, $actionID) = $parts;
                $oldController = Yii::$app->controller;
                Yii::$app->controller = $controller;
                $result = $controller->runAction($actionID, $params);
                if ($oldController !== null) {
                    Yii::$app->controller = $oldController;
                }
     
                return $result;
            }
                    
  • 13. in C:\wamp\www\mymed24-infarmed\prod\html\vendor\yiisoft\yii2\web\Application.php at line 103 yii\web\Application::runAction()
    979899100101102103104105106107108109
                                    $params = $this->catchAll;
                unset($params[0]);
            }
            try {
                Yii::debug("Route requested: '$route'", __METHOD__);
                $this->requestedRoute = $route;
                $result = $this->runAction($route, $params);
                if ($result instanceof Response) {
                    return $result;
                }
     
                $response = $this->getResponse();
                if ($result !== null) {
                    
  • 14. in C:\wamp\www\mymed24-infarmed\prod\html\vendor\yiisoft\yii2\base\Application.php at line 386 yii\web\Application::handleRequest()
    380381382383384385386387388389390391392
                            {
            try {
                $this->state = self::STATE_BEFORE_REQUEST;
                $this->trigger(self::EVENT_BEFORE_REQUEST);
     
                $this->state = self::STATE_HANDLING_REQUEST;
                $response = $this->handleRequest($this->getRequest());
     
                $this->state = self::STATE_AFTER_REQUEST;
                $this->trigger(self::EVENT_AFTER_REQUEST);
     
                $this->state = self::STATE_SENDING_RESPONSE;
                $response->send();
                    
  • 15. in C:\wamp\www\mymed24-infarmed\prod\html\api\web\index.php at line 22 yii\web\Application::run()
    16171819202122
                            require(__DIR__ . '/../../common/config/main.php'),
        require(__DIR__ . '/../../common/config/main-local.php'),
        require(__DIR__ . '/../config/main.php'),
        require(__DIR__ . '/../config/main-local.php')
    );
    $application = new yii\web\Application($config);
    $application->run();
                    
$_GET = [
    'r' => 'infarmed/get-produto-bula',
    'guid' => '5300d8b0c87611e793fae5571e031977',
];
Faça download do folheto informativo

Fonte da informação: última versão disponibilizada no site do Infarmed. Não invalida a leitura do folheto informativo contido no interior da embalagem. Em caso de dúvida ou de persistência dos sintomas consulte o seu médico ou os nossos farmacêuticos

<?= $familia->nomeFamilia ?>