• 0
Votes
name

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 195

Backtrace:

File: /home/u125378470/domains/lawhelpguru.org/public_html/application/views/question.php
Line: 195
Function: _error_handler

File: /home/u125378470/domains/lawhelpguru.org/public_html/application/controllers/Questions.php
Line: 416
Function: view

File: /home/u125378470/domains/lawhelpguru.org/public_html/index.php
Line: 315
Function: require_once

name Punditsdkoslkdosdkoskdo

Why does laradock certbot get this error?

I keep getting this error, but I don't know why

certbot_1              | /root/certbot/run-certbot.sh: line 2: $'
': command not found
certbot_1              | usage:
certbot_1              |   certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ...
certbot_1              |
certbot_1              | Certbot can obtain and install HTTPS/TLS/SSL certificates.  By default,
certbot_1              | it will attempt to use a webserver both for obtaining and installing the
certbot_1              | certificate.
certbot_1              | certbot: error: unrecognized arguments: --text
certbot_1              | /root/certbot/run-certbot.sh: line 4: $'r': command not found

my run-certbot.sh file is

#!/bin/bash

letsencrypt certonly --webroot -w /var/www/letsencrypt -d "$CN" -d "om.$CN" -d "admin.$CN" -d "www.$CN" --agree-tos --email "$EMAIL" --non-interactive --text

cp /etc/letsencrypt/live/"$CN"/fullchain.pem /var/certs/"$CN"-cert.pem
cp /etc/letsencrypt/live/"$CN"/privkey.pem /var/certs/"$CN"-privkey.pem

Can you give me some advice?

window10 / laravel / laradock