3. Datganiad gan y Prif Weinidog: Y Rhaglen Ddeddfwriaethol

Part of the debate – Senedd Cymru am 4:29 pm ar 16 Gorffennaf 2019.

Danfonwch hysbysiad imi am ddadleuon fel hyn

Photo of Mark Drakeford Mark Drakeford Labour 4:29, 16 Gorffennaf 2019

(Cyfieithwyd)

Llywydd, a gaf i ddiolch i'r Aelod am ei gwestiynau? Byddaf yn ymdrin â nhw o chwith, os caf i. Rwy'n credu ei fod wedi disgrifio dull Llywodraeth Cymru o weithredu'n gwbl gywir mewn cysylltiad â deddfwriaeth yr UE. Bydd rhai adegau pan fydd rhaid inni ddibynnu, am resymau ymarferol llwyr, mewn modd trosiannol ar bwerau a grëir yn neddfwriaeth y DU, ond nid yw hynny ond yn llwybr at gyflwyno deddfwriaeth ar lawr y Cynulliad hwn, nid yn unig o ran amaethyddiaeth, ond o ran pysgodfeydd hefyd. O ran pysgodfeydd yn arbennig, mae'n bwysig aros hyd nes y caiff deddfwriaeth y DU ei rhoi ar waith, oherwydd bydd yn ymestyn pwerau'r Cynulliad hwn yn sylweddol iawn o ran pysgodfeydd, a byddwn eisiau cyflwyno Bil pysgodfeydd a fydd yn caniatáu i'r Cynulliad ystyried a deddfu mewn ystod o bwerau newydd a fydd gennym ni. Ond dyna'n union yw ein bwriad.

Whoops! There was an error.
Whoops \ Exception \ ErrorException (E_CORE_WARNING)
Module 'xapian' already loaded Whoops\Exception\ErrorException thrown with message "Module 'xapian' already loaded" Stacktrace: #2 Whoops\Exception\ErrorException in Unknown:0 #1 Whoops\Run:handleError in /data/vhost/matthew.theyworkforyou.dev.mysociety.org/theyworkforyou/vendor/filp/whoops/src/Whoops/Run.php:433 #0 Whoops\Run:handleShutdown in [internal]:0
Stack frames (3)
2
Whoops\Exception\ErrorException
Unknown0
1
Whoops\Run handleError
/vendor/filp/whoops/src/Whoops/Run.php433
0
Whoops\Run handleShutdown
[internal]0
Unknown
/data/vhost/matthew.theyworkforyou.dev.mysociety.org/theyworkforyou/vendor/filp/whoops/src/Whoops/Run.php
    /**
     * Special case to deal with Fatal errors and the like.
     */
    public function handleShutdown()
    {
        // If we reached this step, we are in shutdown handler.
        // An exception thrown in a shutdown handler will not be propagated
        // to the exception handler. Pass that information along.
        $this->canThrowExceptions = false;
 
        $error = $this->system->getLastError();
        if ($error && Misc::isLevelFatal($error['type'])) {
            // If there was a fatal error,
            // it was not handled in handleError yet.
            $this->allowQuit = false;
            $this->handleError(
                $error['type'],
                $error['message'],
                $error['file'],
                $error['line']
            );
        }
    }
 
    /**
     * In certain scenarios, like in shutdown handler, we can not throw exceptions
     * @var bool
     */
    private $canThrowExceptions = true;
 
    /**
     * Echo something to the browser
     * @param  string $output
     * @return $this
     */
    private function writeToOutputNow($output)
    {
        if ($this->sendHttpCode() && \Whoops\Util\Misc::canSendHeaders()) {
            $this->system->setHttpResponseCode(
                $this->sendHttpCode()
[internal]

Environment & details:

Key Value
type senedd
id 2019-07-16.5.215648
empty
empty
empty
empty
Key Value
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPRC /etc/php/7.0/fcgi
PWD /data/vhost/matthew.theyworkforyou.dev.mysociety.org/theyworkforyou/www/docs/fcgi
PHP_FCGI_CHILDREN 0
ORIG_SCRIPT_NAME /fcgi/php-basic-dev
ORIG_PATH_TRANSLATED /data/vhost/matthew.theyworkforyou.dev.mysociety.org/docs/section.php
ORIG_PATH_INFO /senedd/
ORIG_SCRIPT_FILENAME /data/vhost/matthew.theyworkforyou.dev.mysociety.org/docs/fcgi/php-basic-dev
CONTENT_LENGTH 0
SCRIPT_NAME /senedd/
REQUEST_URI /senedd/?id=2019-07-16.5.215648
QUERY_STRING type=senedd&id=2019-07-16.5.215648
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.0
GATEWAY_INTERFACE CGI/1.1
REDIRECT_QUERY_STRING type=senedd&id=2019-07-16.5.215648
REDIRECT_URL /senedd/
REMOTE_PORT 45534
SCRIPT_FILENAME /data/vhost/matthew.theyworkforyou.dev.mysociety.org/docs/section.php
SERVER_ADMIN webmaster@theyworkforyou.dev.mysociety.org
CONTEXT_DOCUMENT_ROOT /data/vhost/matthew.theyworkforyou.dev.mysociety.org/docs
CONTEXT_PREFIX
REQUEST_SCHEME http
DOCUMENT_ROOT /data/vhost/matthew.theyworkforyou.dev.mysociety.org/docs
REMOTE_ADDR 3.141.21.199
SERVER_PORT 80
SERVER_ADDR 46.235.230.113
SERVER_NAME cy.matthew.theyworkforyou.dev.mysociety.org
SERVER_SOFTWARE Apache
SERVER_SIGNATURE
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
HTTP_CONNECTION close
HTTP_X_FORWARDED_PROTO https
HTTP_X_REAL_IP 3.141.21.199
HTTP_HOST cy.matthew.theyworkforyou.dev.mysociety.org
SCRIPT_URI http://cy.matthew.theyworkforyou.dev.mysociety.org/senedd/
SCRIPT_URL /senedd/
REDIRECT_STATUS 200
REDIRECT_HANDLER application/x-httpd-fastphp
REDIRECT_SCRIPT_URI http://cy.matthew.theyworkforyou.dev.mysociety.org/senedd/
REDIRECT_SCRIPT_URL /senedd/
FCGI_ROLE RESPONDER
PHP_SELF /senedd/
REQUEST_TIME_FLOAT 1732263549.3606
REQUEST_TIME 1732263549
empty
0. Whoops\Handler\PrettyPageHandler