Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEOmatic 5 b5, failed sitemap generation queue jobs #1425

Closed
MattWilcox opened this issue Feb 28, 2024 · 16 comments
Closed

SEOmatic 5 b5, failed sitemap generation queue jobs #1425

MattWilcox opened this issue Feb 28, 2024 · 16 comments
Labels

Comments

@MattWilcox
Copy link

Describe the bug

Getting a few of these stacking up in the Queue.

Too few arguments to function craft\base\Element::get(), 0 passed in /var/www/html/vendor/yiisoft/yii2/base/Component.php on line 231 and exactly 1 expected

To reproduce

Steps to reproduce the behaviour:

  1. Installed SEOmatic b5 on Craft b3
  2. Didn't do anything else other than click around the CMS for a while (haven't configured it yet either, so this may just be a defaults thing)

Screenshots

Screenshot 2024-02-28 at 17 46 32
@MattWilcox MattWilcox added the bug label Feb 28, 2024
@khalwat
Copy link
Collaborator

khalwat commented Feb 28, 2024

Do you happen to have a stack trace? It should be in queue.log

@MattWilcox
Copy link
Author

Well, trying to look at the log froze my PHPStorm, but switching to VSCode...

here's everything from the log that has the matching timestamp:

2024-02-27 14:30:17 [queue.INFO] [yii\db\Connection::open] Opening DB connection: mysql:host=db;dbname=db;port=3306 {"memory":841336} 
2024-02-27 14:30:17 [queue.INFO] [yii\web\Session::open] Session started {"memory":960232} 
2024-02-27 14:30:17 [queue.INFO] [nystudio107\codeeditor\CodeEditor::bootstrap] CodeEditor module bootstrapped {"memory":995184} 
2024-02-27 14:30:17 [queue.INFO] [nystudio107\seomatic\Seomatic::init] SEOmatic plugin loaded {"memory":1698232} 
2024-02-27 14:30:17 [queue.INFO] [yii\db\Connection::open] Opening DB connection: mysql:host=db;dbname=db;port=3306 {"memory":1863560} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::beforeExec]  [327] Generating pages sitemap (attempt: 1, pid: 11481) - Started {"memory":1922816} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::beforeExec]  [318] t9n:["app","Updating search indexes"] (attempt: 1, pid: 11481) - Started {"memory":3166656} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::afterExec]  [318] t9n:["app","Updating search indexes"] (attempt: 1, pid: 11481) - Done (time: 0.002s) {"memory":3282840} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::beforeExec]  [319] t9n:["app","Updating search indexes"] (attempt: 1, pid: 11481) - Started {"memory":3290760} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::afterExec]  [319] t9n:["app","Updating search indexes"] (attempt: 1, pid: 11481) - Done (time: 0.001s) {"memory":3320336} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::beforeExec]  [320] t9n:["app","Updating search indexes"] (attempt: 1, pid: 11481) - Started {"memory":3328256} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::afterExec]  [320] t9n:["app","Updating search indexes"] (attempt: 1, pid: 11481) - Done (time: 0.001s) {"memory":3353736} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::beforeExec]  [321] t9n:["app","Updating search indexes"] (attempt: 1, pid: 11481) - Started {"memory":3361976} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::afterExec]  [321] t9n:["app","Updating search indexes"] (attempt: 1, pid: 11481) - Done (time: 0.001s) {"memory":3387456} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::beforeExec]  [322] t9n:["app","Updating search indexes"] (attempt: 1, pid: 11481) - Started {"memory":3395376} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::afterExec]  [322] t9n:["app","Updating search indexes"] (attempt: 1, pid: 11481) - Done (time: 0.001s) {"memory":3420856} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::beforeExec]  [323] t9n:["app","Updating search indexes"] (attempt: 1, pid: 11481) - Started {"memory":3428776} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::afterExec]  [323] t9n:["app","Updating search indexes"] (attempt: 1, pid: 11481) - Done (time: 0.001s) {"memory":3454256} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::beforeExec]  [324] t9n:["app","Updating search indexes"] (attempt: 1, pid: 11481) - Started {"memory":3462176} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::afterExec]  [324] t9n:["app","Updating search indexes"] (attempt: 1, pid: 11481) - Done (time: 0.007s) {"memory":3675824} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::beforeExec]  [325] t9n:["app","Updating search indexes"] (attempt: 1, pid: 11481) - Started {"memory":3683744} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::afterExec]  [325] t9n:["app","Updating search indexes"] (attempt: 1, pid: 11481) - Done (time: 0.004s) {"memory":3722960} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::beforeExec]  [326] t9n:["app","Updating search indexes"] (attempt: 1, pid: 11481) - Started {"memory":3730880} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::afterExec]  [326] t9n:["app","Updating search indexes"] (attempt: 1, pid: 11481) - Done (time: 0.004s) {"memory":3778128} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::beforeExec]  [328] t9n:["app","Pruning extra revisions"] (attempt: 1, pid: 11481) - Started {"memory":3786048} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::afterExec]  [328] t9n:["app","Pruning extra revisions"] (attempt: 1, pid: 11481) - Done (time: 0.009s) {"memory":3912976} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::beforeExec]  [329] t9n:["app","Pruning extra revisions"] (attempt: 1, pid: 11481) - Started {"memory":3920896} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::afterExec]  [329] t9n:["app","Pruning extra revisions"] (attempt: 1, pid: 11481) - Done (time: 0.006s) {"memory":3995808} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::beforeExec]  [330] t9n:["app","Pruning extra revisions"] (attempt: 1, pid: 11481) - Started {"memory":4003728} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::afterExec]  [330] t9n:["app","Pruning extra revisions"] (attempt: 1, pid: 11481) - Done (time: 0.006s) {"memory":4079216} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::beforeExec]  [331] t9n:["app","Pruning extra revisions"] (attempt: 1, pid: 11481) - Started {"memory":4087136} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::afterExec]  [331] t9n:["app","Pruning extra revisions"] (attempt: 1, pid: 11481) - Done (time: 0.006s) {"memory":4162224} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::beforeExec]  [332] t9n:["app","Pruning extra revisions"] (attempt: 1, pid: 11481) - Started {"memory":4170144} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::afterExec]  [332] t9n:["app","Pruning extra revisions"] (attempt: 1, pid: 11481) - Done (time: 0.006s) {"memory":4245224} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::beforeExec]  [333] t9n:["app","Pruning extra revisions"] (attempt: 1, pid: 11481) - Started {"memory":4253144} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::afterExec]  [333] t9n:["app","Pruning extra revisions"] (attempt: 1, pid: 11481) - Done (time: 0.007s) {"memory":4365952} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::beforeExec]  [334] t9n:["app","Pruning extra revisions"] (attempt: 1, pid: 11481) - Started {"memory":4373872} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::afterExec]  [334] t9n:["app","Pruning extra revisions"] (attempt: 1, pid: 11481) - Done (time: 0.001s) {"memory":4394880} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::beforeExec]  [335] t9n:["app","Pruning extra revisions"] (attempt: 1, pid: 11481) - Started {"memory":4402800} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::afterExec]  [335] t9n:["app","Pruning extra revisions"] (attempt: 1, pid: 11481) - Done (time: 0.001s) {"memory":4423808} 
2024-02-27 14:30:17 [queue.INFO] [application] Request context:
$_GET = [
    'p' => 'secretadmin/actions/queue/run'
    'v' => '1709044217480'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    '6bfa87f07794ac171d3c80ab9b721731_username' => 'fd6652d78c1dae0bc295a144d31659e2bb473bc3bfa39a2745d78d5901cd682fa:2:{i:0;s:41:\"6bfa87f07794ac171d3c80ab9b721731_username\";i:1;s:5:\"admin\";}'
    'CraftSessionId' => 'df207f8b17adc7ed14f4a8b0466143c5'
    'CRAFT_CSRF_TOKEN' => '••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••'
    'Craft-3d060d6b-cb01-4926-901c-9d47385ce6d4:sidebar' => 'collapsed'
    '__stripe_mid' => 'c26c967f-f6e7-4f79-b0f1-0c7972895cce6a877f'
    '6bfa87f07794ac171d3c80ab9b721731_identity' => 'da733da9fc2638772d288d73fa1445cbafd918f52a2a9dc8d173ec33dee0c8e6a:2:{i:0;s:41:\"6bfa87f07794ac171d3c80ab9b721731_identity\";i:1;s:159:\"[1,\"[\\\"0j0W0r5AYNEitgKkrsS1-VM7dFJBkFWDqtWLPf_xVZT5ZeZFNtR-9daK8NgLzm9EaxJ2zH1J15IP1w3XjX2LXgyGKVdBg_m6u0Wb\\\",null,\\\"54140f3964ad48219c4ac743dca17665\\\"]\",3600]\";}'
    '__stripe_sid' => 'd5182bbb-35d6-401f-9d93-a8c95ddf26fcc4d4ce'
]

$_SESSION = [
    'c79356f416d0681d6387e1ca917760a3__flash' => []
    'c79356f416d0681d6387e1ca917760a3__auth_access' => [
        0 => 'editStructure:1'
        1 => 'seomaticPreviewAuthorizationKey4'
        2 => 'previewElement:4'
        3 => 'manageNestedElements::4::field:matrixBuilder'
        4 => 'saveAssets:8f0a7a08-caca-48d6-8461-adf216cf8e9f'
        5 => 'seomaticPreviewAuthorizationKey68'
        6 => 'previewElement:68'
        7 => 'manageNestedElements::68::field:matrixBuilder'
        8 => 'seomaticPreviewAuthorizationKey102'
        9 => 'previewDraft:31'
        10 => 'seomaticPreviewAuthorizationKey110'
        11 => 'previewDraft:32'
        12 => 'previewDraft:33'
        13 => 'previewDraft:34'
        14 => 'seomaticPreviewAuthorizationKey124'
        15 => 'previewDraft:35'
        16 => 'seomaticPreviewAuthorizationKey143'
        17 => 'previewDraft:36'
        18 => 'previewDraft:37'
        19 => 'previewDraft:38'
        20 => 'previewDraft:39'
    ]
    '6bfa87f07794ac171d3c80ab9b721731__token' => '••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••'
    '6bfa87f07794ac171d3c80ab9b721731__id' => 1
    '__authKey' => '••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••'
    '6bfa87f07794ac171d3c80ab9b721731__expire' => 1709047817
    '__duration' => 3600
    '__elevated_timeout' => 1709043337
]

$_SERVER = [
    'DEPLOY_NAME' => 'local'
    'DDEV_WEBSERVER_TYPE' => 'nginx-fpm'
    'npm_config_cache' => '/mnt/ddev-global-cache/npm'
    'IS_DDEV_PROJECT' => 'true'
    'PHP_DEFAULT_VERSION' => '8.1'
    'HOSTNAME' => 'craft5-vca-web'
    'MH_SMTP_BIND_ADDR' => '127.0.0.1:1025'
    'SSH_AUTH_SOCK' => '/home/.ssh-agent/socket'
    'NODE_EXTRA_CA_CERTS' => '/mnt/ddev-global-cache/mkcert/rootCA.pem'
    'DOCKER_IP' => '127.0.0.1'
    'PGPASSWORD' => 'db'
    'DRUSH_ALLOW_XDEBUG' => '1'
    'MYSQL_PWD' => 'db'
    'DDEV_DOCROOT' => 'web'
    'PWD' => '/var/www/html'
    'PLATFORMSH_CLI_UPDATES_CHECK' => '0'
    'DDEV_FILES_DIR' => ''
    'APACHE_SITE_TEMPLATE' => '/etc/apache2/apache-site.conf'
    'PHP_INI' => '/etc/php/8.2/fpm/php.ini'
    'GOARCH' => 'amd64'
    'DDEV_VERSION' => 'v1.22.7'
    'TZ' => ''
    'HTTPS_EXPOSE' => '443:80,8026:8025'
    'DDEV_PRIMARY_URL' => 'https://craft5-vca.ddev.site'
    'LINES' => '14'
    'DDEV_SITENAME' => 'craft5-vca'
    'HOME' => '/home/mattwilcox'
    'DRUSH_OPTIONS_URI' => 'https://craft5-vca.ddev.site'
    'LANG' => 'C.UTF-8'
    'COLUMNS' => '170'
    'DDEV_MUTAGEN_ENABLED' => 'true'
    'PGUSER' => 'db'
    'TERMINUS_CACHE_DIR' => '/mnt/ddev-global-cache/terminus/cache'
    'DDEV_ROUTER_HTTP_PORT' => '80'
    'COMPOSER_PROCESS_TIMEOUT' => '2000'
    'NGINX_SITE_TEMPLATE' => '/etc/nginx/nginx-site.conf'
    'DDEV_FILES_DIRS' => ''
    'HTTP_EXPOSE' => '80:80,8025:8025'
    'NVM_DIR' => '/home/mattwilcox/.nvm'
    'DDEV_PHP_VERSION' => '8.2'
    'DDEV_TLD' => 'ddev.site'
    'DDEV_HOSTNAME' => 'craft5-vca.ddev.site'
    'DDEV_PROJECT' => 'craft5-vca'
    'VIRTUAL_HOST' => 'craft5-vca.ddev.site'
    'TERM' => 'xterm'
    'USER' => 'mattwilcox'
    'MYSQL_HISTFILE' => '/mnt/ddev-global-cache/mysqlhistory/craft5-vca-web/mysql_history'
    'DDEV_WEB_ENTRYPOINT' => '/mnt/ddev_config/web-entrypoint.d'
    'CAROOT' => '/mnt/ddev-global-cache/mkcert'
    'SHLVL' => '1'
    'COMPOSER_ALLOW_SUPERUSER' => '1'
    'BASH_ENV' => '/etc/bash.nointeractive.bashrc'
    'DDEV_DATABASE' => 'mysql:8.0'
    'PGDATABASE' => 'db'
    'XHPROF_OUTPUT_DIR' => '/tmp/xhprof'
    'COMPOSER_CACHE_DIR' => '/mnt/ddev-global-cache/composer'
    'DDEV_XDEBUG_ENABLED' => 'false'
    'DDEV_DATABASE_FAMILY' => 'mysql'
    'PGHOST' => 'db'
    'DDEV_COMPOSER_ROOT' => '/var/www/html'
    'DOCROOT' => 'web'
    'TERMINUS_HIDE_UPDATE_MESSAGE' => '1'
    'PATH' => '~/bin:~/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/www/html/vendor/bin:/var/www/html/bin:/var/www/html/vendor/bin:/var/www/html/vendor/bin:/var/www/html/bin:/var/www/html/vendor/bin'
    'HOST_DOCKER_INTERNAL_IP' => ''
    'DDEV_PROJECT_TYPE' => 'craftcms'
    'DEBIAN_FRONTEND' => 'noninteractive'
    'DDEV_ROUTER_HTTPS_PORT' => '443'
    'GOOS' => 'darwin'
    'SUPERVISOR_ENABLED' => '1'
    'SUPERVISOR_SERVER_URL' => 'unix:///var/run/supervisor.sock'
    'SUPERVISOR_PROCESS_NAME' => 'php-fpm'
    'SUPERVISOR_GROUP_NAME' => 'php-fpm'
    'HTTP_X_REQUESTED_WITH' => 'XMLHttpRequest'
    'HTTP_X_REGISTERED_JS_FILES' => ''
    'HTTP_X_REGISTERED_ASSET_BUNDLES' => '22e517a2,aee7f8dc,e505ffd6,6b4d7555,e5e48399,bb2f10a0,815d39ea,fc0bc163,1ccab40d,1e21896b,54698ee0,b842675b,1c3c9add,4b1fd285,d8d08e47,8f00ce04,8768f48b,cf3018d6'
    'HTTP_X_REAL_IP' => '192.168.228.1'
    'HTTP_X_FORWARDED_SERVER' => '489a452e2cc3'
    'HTTP_X_FORWARDED_PROTO' => 'https'
    'HTTP_X_FORWARDED_PORT' => '443'
    'HTTP_X_FORWARDED_HOST' => 'craft5-vca.ddev.site'
    'HTTP_X_FORWARDED_FOR' => '192.168.228.1'
    'HTTP_X_CSRF_TOKEN' => '••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••'
    'HTTP_TE' => 'trailers'
    'HTTP_SEC_GPC' => '1'
    'HTTP_SEC_FETCH_SITE' => 'same-origin'
    'HTTP_SEC_FETCH_MODE' => 'cors'
    'HTTP_SEC_FETCH_DEST' => 'empty'
    'HTTP_REFERER' => 'https://craft5-vca.ddev.site/secretadmin/entries/pages?source=section%3Ac06fa15a-973a-4789-972a-835dceb8e56d'
    'HTTP_ORIGIN' => 'https://craft5-vca.ddev.site'
    'HTTP_COOKIE' => '6bfa87f07794ac171d3c80ab9b721731_username=fd6652d78c1dae0bc295a144d31659e2bb473bc3bfa39a2745d78d5901cd682fa%3A2%3A%7Bi%3A0%3Bs%3A41%3A%226bfa87f07794ac171d3c80ab9b721731_username%22%3Bi%3A1%3Bs%3A5%3A%22admin%22%3B%7D; CraftSessionId=df207f8b17adc7ed14f4a8b0466143c5; CRAFT_CSRF_TOKEN=d927cfec6a9a04bc14911dc419431a993dca1e0bb369764e6f98d9d07e485c67a%3A2%3A%7Bi%3A0%3Bs%3A16%3A%22CRAFT_CSRF_TOKEN%22%3Bi%3A1%3Bs%3A147%3A%22WycdvBUi1Ks7tyxlwTGldpb0gRaleOyGw3Vk1yGy%7Cfa2a9765a9563b84e6043f346b7263526126d85038578452b8d84c05e3bb32bbWycdvBUi1Ks7tyxlwTGldpb0gRaleOyGw3Vk1yGy%7C1%22%3B%7D; Craft-3d060d6b-cb01-4926-901c-9d47385ce6d4:sidebar=collapsed; __stripe_mid=c26c967f-f6e7-4f79-b0f1-0c7972895cce6a877f; 6bfa87f07794ac171d3c80ab9b721731_identity=da733da9fc2638772d288d73fa1445cbafd918f52a2a9dc8d173ec33dee0c8e6a%3A2%3A%7Bi%3A0%3Bs%3A41%3A%226bfa87f07794ac171d3c80ab9b721731_identity%22%3Bi%3A1%3Bs%3A159%3A%22%5B1%2C%22%5B%5C%220j0W0r5AYNEitgKkrsS1-VM7dFJBkFWDqtWLPf_xVZT5ZeZFNtR-9daK8NgLzm9EaxJ2zH1J15IP1w3XjX2LXgyGKVdBg_m6u0Wb%5C%22%2Cnull%2C%5C%2254140f3964ad48219c4ac743dca17665%5C%22%5D%22%2C3600%5D%22%3B%7D; __stripe_sid=d5182bbb-35d6-401f-9d93-a8c95ddf26fcc4d4ce'
    'HTTP_ACCEPT_LANGUAGE' => 'en-GB,en;q=0.5'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br'
    'HTTP_ACCEPT' => 'application/json, text/plain, */*'
    'HTTP_CONTENT_LENGTH' => '0'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:122.0) Gecko/20100101 Firefox/122.0'
    'HTTP_HOST' => 'craft5-vca.ddev.site'
    'HTTPS' => 'on'
    'REDIRECT_STATUS' => '200'
    'SERVER_NAME' => 'craft5-vca.ddev.site'
    'SERVER_PORT' => '80'
    'SERVER_ADDR' => '192.168.228.4'
    'REMOTE_PORT' => '51666'
    'REMOTE_ADDR' => '192.168.228.5'
    'SERVER_SOFTWARE' => 'nginx/1.24.0'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'REQUEST_SCHEME' => 'http'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'DOCUMENT_ROOT' => '/var/www/html/web'
    'DOCUMENT_URI' => '/index.php'
    'REQUEST_URI' => '/index.php?p=secretadmin%2Factions%2Fqueue%2Frun&v=1709044217480'
    'CONTENT_LENGTH' => '0'
    'CONTENT_TYPE' => ''
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'p=secretadmin%2Factions%2Fqueue%2Frun&v=1709044217480'
    'SCRIPT_NAME' => '/index.php'
    'SCRIPT_FILENAME' => '/var/www/html/web/index.php'
    'FCGI_ROLE' => 'RESPONDER'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1709044217.4872
    'REQUEST_TIME' => 1709044217
    'SYSTEM_IS_LIVE' => 'true'
    'CRAFT_ENVIRONMENT' => 'dev'
    'CRAFT_WEB_URL' => 'https://craft5-vca.ddev.site'
    'SYSTEM_NAME' => 'Craft5 VCA'
    'TIME_ZONE' => 'Europe/London'
    'CP_TRIGGER' => 'secretadmin'
    'CRAFT_APP_ID' => 'CraftCMS--28100288-4e07-45c8-84bc-dd4646f377bd'
    'CRAFT_SECURITY_KEY' => '••••••••••••••••••••••••••••••••'
    'BLITZ_CACHE_ENABLED' => 'true'
    'SSI_ENABLED' => 'true'
    'SERVER_TYPE' => 'nginx'
    'CRAFT_DB_DRIVER' => 'mysql'
    'CRAFT_DB_SERVER' => 'db'
    'CRAFT_DB_PORT' => '3306'
    'CRAFT_DB_DATABASE' => 'db'
    'CRAFT_DB_USER' => 'db'
    'CRAFT_DB_PASSWORD' => '••'
    'CRAFT_DB_SCHEMA' => 'public'
    'CRAFT_DB_TABLE_PREFIX' => ''
    'TEST_TO_EMAIL_ADDRESS' => '[email protected]'
    'SYSTEM_EMAIL_ADDRESS' => '[email protected]'
    'SYSTEM_REPLY_TO_ADDRESS' => '[email protected]'
    'SYSTEM_SENDER_NAME' => 'Website'
    'SYSTEM_HTML_EMAIL_TEMPLATE' => ''
    'SYSTEM_TRANSPORT_TYPE' => 'SMTP'
    'SMTP_HOST' => '127.0.0.1'
    'SMTP_PORT' => '1025'
    'SMTP_USERNAME' => ''
    'SMTP_PASSWORD' => ''
    'SYSTEM_USE_AUTH' => 'false'
    'SYSTEM_ENCRYPTION_METHOD' => 'tls'
    'MAILPIT_SMTP_HOSTNAME' => '127.0.0.1'
    'MAILPIT_SMTP_PORT' => '1025'
    'CRAFT_WEB_ROOT' => '/var/www/html/web'
    'PRIMARY_SITE_URL' => 'https://craft5-vca.ddev.site'
] {"environment":"dev","userId":1} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::beforeExec]  [336] t9n:["app","Pruning extra revisions"] (attempt: 1, pid: 11481) - Started {"memory":3917624} 
2024-02-27 14:30:17 [queue.INFO] [craft\queue\QueueLogBehavior::afterExec]  [336] t9n:["app","Pruning extra revisions"] (attempt: 1, pid: 11481) - Done (time: 0.007s) {"memory":4069824} 
2024-02-27 14:30:17 [queue.INFO] [application] Request context:
$_GET = [
    'p' => 'secretadmin/actions/queue/run'
    'v' => '1709044217480'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    '6bfa87f07794ac171d3c80ab9b721731_username' => 'fd6652d78c1dae0bc295a144d31659e2bb473bc3bfa39a2745d78d5901cd682fa:2:{i:0;s:41:\"6bfa87f07794ac171d3c80ab9b721731_username\";i:1;s:5:\"admin\";}'
    'CraftSessionId' => 'df207f8b17adc7ed14f4a8b0466143c5'
    'CRAFT_CSRF_TOKEN' => '••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••'
    'Craft-3d060d6b-cb01-4926-901c-9d47385ce6d4:sidebar' => 'collapsed'
    '__stripe_mid' => 'c26c967f-f6e7-4f79-b0f1-0c7972895cce6a877f'
    '6bfa87f07794ac171d3c80ab9b721731_identity' => 'da733da9fc2638772d288d73fa1445cbafd918f52a2a9dc8d173ec33dee0c8e6a:2:{i:0;s:41:\"6bfa87f07794ac171d3c80ab9b721731_identity\";i:1;s:159:\"[1,\"[\\\"0j0W0r5AYNEitgKkrsS1-VM7dFJBkFWDqtWLPf_xVZT5ZeZFNtR-9daK8NgLzm9EaxJ2zH1J15IP1w3XjX2LXgyGKVdBg_m6u0Wb\\\",null,\\\"54140f3964ad48219c4ac743dca17665\\\"]\",3600]\";}'
    '__stripe_sid' => 'd5182bbb-35d6-401f-9d93-a8c95ddf26fcc4d4ce'
]

$_SESSION = [
    'c79356f416d0681d6387e1ca917760a3__flash' => []
    'c79356f416d0681d6387e1ca917760a3__auth_access' => [
        0 => 'editStructure:1'
        1 => 'seomaticPreviewAuthorizationKey4'
        2 => 'previewElement:4'
        3 => 'manageNestedElements::4::field:matrixBuilder'
        4 => 'saveAssets:8f0a7a08-caca-48d6-8461-adf216cf8e9f'
        5 => 'seomaticPreviewAuthorizationKey68'
        6 => 'previewElement:68'
        7 => 'manageNestedElements::68::field:matrixBuilder'
        8 => 'seomaticPreviewAuthorizationKey102'
        9 => 'previewDraft:31'
        10 => 'seomaticPreviewAuthorizationKey110'
        11 => 'previewDraft:32'
        12 => 'previewDraft:33'
        13 => 'previewDraft:34'
        14 => 'seomaticPreviewAuthorizationKey124'
        15 => 'previewDraft:35'
        16 => 'seomaticPreviewAuthorizationKey143'
        17 => 'previewDraft:36'
        18 => 'previewDraft:37'
        19 => 'previewDraft:38'
        20 => 'previewDraft:39'
    ]
    '6bfa87f07794ac171d3c80ab9b721731__token' => '••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••'
    '6bfa87f07794ac171d3c80ab9b721731__id' => 1
    '__authKey' => '••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••'
    '6bfa87f07794ac171d3c80ab9b721731__expire' => 1709047817
    '__duration' => 3600
    '__elevated_timeout' => 1709043337
]

$_SERVER = [
    'DEPLOY_NAME' => 'local'
    'DDEV_WEBSERVER_TYPE' => 'nginx-fpm'
    'npm_config_cache' => '/mnt/ddev-global-cache/npm'
    'IS_DDEV_PROJECT' => 'true'
    'PHP_DEFAULT_VERSION' => '8.1'
    'HOSTNAME' => 'craft5-vca-web'
    'MH_SMTP_BIND_ADDR' => '127.0.0.1:1025'
    'SSH_AUTH_SOCK' => '/home/.ssh-agent/socket'
    'NODE_EXTRA_CA_CERTS' => '/mnt/ddev-global-cache/mkcert/rootCA.pem'
    'DOCKER_IP' => '127.0.0.1'
    'PGPASSWORD' => 'db'
    'DRUSH_ALLOW_XDEBUG' => '1'
    'MYSQL_PWD' => 'db'
    'DDEV_DOCROOT' => 'web'
    'PWD' => '/var/www/html'
    'PLATFORMSH_CLI_UPDATES_CHECK' => '0'
    'DDEV_FILES_DIR' => ''
    'APACHE_SITE_TEMPLATE' => '/etc/apache2/apache-site.conf'
    'PHP_INI' => '/etc/php/8.2/fpm/php.ini'
    'GOARCH' => 'amd64'
    'DDEV_VERSION' => 'v1.22.7'
    'TZ' => ''
    'HTTPS_EXPOSE' => '443:80,8026:8025'
    'DDEV_PRIMARY_URL' => 'https://craft5-vca.ddev.site'
    'LINES' => '14'
    'DDEV_SITENAME' => 'craft5-vca'
    'HOME' => '/home/mattwilcox'
    'DRUSH_OPTIONS_URI' => 'https://craft5-vca.ddev.site'
    'LANG' => 'C.UTF-8'
    'COLUMNS' => '170'
    'DDEV_MUTAGEN_ENABLED' => 'true'
    'PGUSER' => 'db'
    'TERMINUS_CACHE_DIR' => '/mnt/ddev-global-cache/terminus/cache'
    'DDEV_ROUTER_HTTP_PORT' => '80'
    'COMPOSER_PROCESS_TIMEOUT' => '2000'
    'NGINX_SITE_TEMPLATE' => '/etc/nginx/nginx-site.conf'
    'DDEV_FILES_DIRS' => ''
    'HTTP_EXPOSE' => '80:80,8025:8025'
    'NVM_DIR' => '/home/mattwilcox/.nvm'
    'DDEV_PHP_VERSION' => '8.2'
    'DDEV_TLD' => 'ddev.site'
    'DDEV_HOSTNAME' => 'craft5-vca.ddev.site'
    'DDEV_PROJECT' => 'craft5-vca'
    'VIRTUAL_HOST' => 'craft5-vca.ddev.site'
    'TERM' => 'xterm'
    'USER' => 'mattwilcox'
    'MYSQL_HISTFILE' => '/mnt/ddev-global-cache/mysqlhistory/craft5-vca-web/mysql_history'
    'DDEV_WEB_ENTRYPOINT' => '/mnt/ddev_config/web-entrypoint.d'
    'CAROOT' => '/mnt/ddev-global-cache/mkcert'
    'SHLVL' => '1'
    'COMPOSER_ALLOW_SUPERUSER' => '1'
    'BASH_ENV' => '/etc/bash.nointeractive.bashrc'
    'DDEV_DATABASE' => 'mysql:8.0'
    'PGDATABASE' => 'db'
    'XHPROF_OUTPUT_DIR' => '/tmp/xhprof'
    'COMPOSER_CACHE_DIR' => '/mnt/ddev-global-cache/composer'
    'DDEV_XDEBUG_ENABLED' => 'false'
    'DDEV_DATABASE_FAMILY' => 'mysql'
    'PGHOST' => 'db'
    'DDEV_COMPOSER_ROOT' => '/var/www/html'
    'DOCROOT' => 'web'
    'TERMINUS_HIDE_UPDATE_MESSAGE' => '1'
    'PATH' => '~/bin:~/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/www/html/vendor/bin:/var/www/html/bin:/var/www/html/vendor/bin:/var/www/html/vendor/bin:/var/www/html/bin:/var/www/html/vendor/bin'
    'HOST_DOCKER_INTERNAL_IP' => ''
    'DDEV_PROJECT_TYPE' => 'craftcms'
    'DEBIAN_FRONTEND' => 'noninteractive'
    'DDEV_ROUTER_HTTPS_PORT' => '443'
    'GOOS' => 'darwin'
    'SUPERVISOR_ENABLED' => '1'
    'SUPERVISOR_SERVER_URL' => 'unix:///var/run/supervisor.sock'
    'SUPERVISOR_PROCESS_NAME' => 'php-fpm'
    'SUPERVISOR_GROUP_NAME' => 'php-fpm'
    'HTTP_X_REQUESTED_WITH' => 'XMLHttpRequest'
    'HTTP_X_REGISTERED_JS_FILES' => ''
    'HTTP_X_REGISTERED_ASSET_BUNDLES' => '22e517a2,aee7f8dc,e505ffd6,6b4d7555,e5e48399,bb2f10a0,815d39ea,fc0bc163,1ccab40d,1e21896b,54698ee0,b842675b,1c3c9add,4b1fd285,d8d08e47,8f00ce04,8768f48b,cf3018d6'
    'HTTP_X_REAL_IP' => '192.168.228.1'
    'HTTP_X_FORWARDED_SERVER' => '489a452e2cc3'
    'HTTP_X_FORWARDED_PROTO' => 'https'
    'HTTP_X_FORWARDED_PORT' => '443'
    'HTTP_X_FORWARDED_HOST' => 'craft5-vca.ddev.site'
    'HTTP_X_FORWARDED_FOR' => '192.168.228.1'
    'HTTP_X_CSRF_TOKEN' => '••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••'
    'HTTP_TE' => 'trailers'
    'HTTP_SEC_GPC' => '1'
    'HTTP_SEC_FETCH_SITE' => 'same-origin'
    'HTTP_SEC_FETCH_MODE' => 'cors'
    'HTTP_SEC_FETCH_DEST' => 'empty'
    'HTTP_REFERER' => 'https://craft5-vca.ddev.site/secretadmin/entries/pages?source=section%3Ac06fa15a-973a-4789-972a-835dceb8e56d'
    'HTTP_ORIGIN' => 'https://craft5-vca.ddev.site'
    'HTTP_COOKIE' => '6bfa87f07794ac171d3c80ab9b721731_username=fd6652d78c1dae0bc295a144d31659e2bb473bc3bfa39a2745d78d5901cd682fa%3A2%3A%7Bi%3A0%3Bs%3A41%3A%226bfa87f07794ac171d3c80ab9b721731_username%22%3Bi%3A1%3Bs%3A5%3A%22admin%22%3B%7D; CraftSessionId=df207f8b17adc7ed14f4a8b0466143c5; CRAFT_CSRF_TOKEN=d927cfec6a9a04bc14911dc419431a993dca1e0bb369764e6f98d9d07e485c67a%3A2%3A%7Bi%3A0%3Bs%3A16%3A%22CRAFT_CSRF_TOKEN%22%3Bi%3A1%3Bs%3A147%3A%22WycdvBUi1Ks7tyxlwTGldpb0gRaleOyGw3Vk1yGy%7Cfa2a9765a9563b84e6043f346b7263526126d85038578452b8d84c05e3bb32bbWycdvBUi1Ks7tyxlwTGldpb0gRaleOyGw3Vk1yGy%7C1%22%3B%7D; Craft-3d060d6b-cb01-4926-901c-9d47385ce6d4:sidebar=collapsed; __stripe_mid=c26c967f-f6e7-4f79-b0f1-0c7972895cce6a877f; 6bfa87f07794ac171d3c80ab9b721731_identity=da733da9fc2638772d288d73fa1445cbafd918f52a2a9dc8d173ec33dee0c8e6a%3A2%3A%7Bi%3A0%3Bs%3A41%3A%226bfa87f07794ac171d3c80ab9b721731_identity%22%3Bi%3A1%3Bs%3A159%3A%22%5B1%2C%22%5B%5C%220j0W0r5AYNEitgKkrsS1-VM7dFJBkFWDqtWLPf_xVZT5ZeZFNtR-9daK8NgLzm9EaxJ2zH1J15IP1w3XjX2LXgyGKVdBg_m6u0Wb%5C%22%2Cnull%2C%5C%2254140f3964ad48219c4ac743dca17665%5C%22%5D%22%2C3600%5D%22%3B%7D; __stripe_sid=d5182bbb-35d6-401f-9d93-a8c95ddf26fcc4d4ce'
    'HTTP_ACCEPT_LANGUAGE' => 'en-GB,en;q=0.5'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br'
    'HTTP_ACCEPT' => 'application/json, text/plain, */*'
    'HTTP_CONTENT_LENGTH' => '0'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:122.0) Gecko/20100101 Firefox/122.0'
    'HTTP_HOST' => 'craft5-vca.ddev.site'
    'HTTPS' => 'on'
    'REDIRECT_STATUS' => '200'
    'SERVER_NAME' => 'craft5-vca.ddev.site'
    'SERVER_PORT' => '80'
    'SERVER_ADDR' => '192.168.228.4'
    'REMOTE_PORT' => '51666'
    'REMOTE_ADDR' => '192.168.228.5'
    'SERVER_SOFTWARE' => 'nginx/1.24.0'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'REQUEST_SCHEME' => 'http'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'DOCUMENT_ROOT' => '/var/www/html/web'
    'DOCUMENT_URI' => '/index.php'
    'REQUEST_URI' => '/index.php?p=secretadmin%2Factions%2Fqueue%2Frun&v=1709044217480'
    'CONTENT_LENGTH' => '0'
    'CONTENT_TYPE' => ''
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'p=secretadmin%2Factions%2Fqueue%2Frun&v=1709044217480'
    'SCRIPT_NAME' => '/index.php'
    'SCRIPT_FILENAME' => '/var/www/html/web/index.php'
    'FCGI_ROLE' => 'RESPONDER'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1709044217.4872
    'REQUEST_TIME' => 1709044217
    'SYSTEM_IS_LIVE' => 'true'
    'CRAFT_ENVIRONMENT' => 'dev'
    'CRAFT_WEB_URL' => 'https://craft5-vca.ddev.site'
    'SYSTEM_NAME' => 'Craft5 VCA'
    'TIME_ZONE' => 'Europe/London'
    'CP_TRIGGER' => 'secretadmin'
    'CRAFT_APP_ID' => 'CraftCMS--28100288-4e07-45c8-84bc-dd4646f377bd'
    'CRAFT_SECURITY_KEY' => '••••••••••••••••••••••••••••••••'
    'BLITZ_CACHE_ENABLED' => 'true'
    'SSI_ENABLED' => 'true'
    'SERVER_TYPE' => 'nginx'
    'CRAFT_DB_DRIVER' => 'mysql'
    'CRAFT_DB_SERVER' => 'db'
    'CRAFT_DB_PORT' => '3306'
    'CRAFT_DB_DATABASE' => 'db'
    'CRAFT_DB_USER' => 'db'
    'CRAFT_DB_PASSWORD' => '••'
    'CRAFT_DB_SCHEMA' => 'public'
    'CRAFT_DB_TABLE_PREFIX' => ''
    'TEST_TO_EMAIL_ADDRESS' => '[email protected]'
    'SYSTEM_EMAIL_ADDRESS' => '[email protected]'
    'SYSTEM_REPLY_TO_ADDRESS' => '[email protected]'
    'SYSTEM_SENDER_NAME' => 'Website'
    'SYSTEM_HTML_EMAIL_TEMPLATE' => ''
    'SYSTEM_TRANSPORT_TYPE' => 'SMTP'
    'SMTP_HOST' => '127.0.0.1'
    'SMTP_PORT' => '1025'
    'SMTP_USERNAME' => ''
    'SMTP_PASSWORD' => ''
    'SYSTEM_USE_AUTH' => 'false'
    'SYSTEM_ENCRYPTION_METHOD' => 'tls'
    'MAILPIT_SMTP_HOSTNAME' => '127.0.0.1'
    'MAILPIT_SMTP_PORT' => '1025'
    'CRAFT_WEB_ROOT' => '/var/www/html/web'
    'PRIMARY_SITE_URL' => 'https://craft5-vca.ddev.site'
] {"environment":"dev","userId":1} 

@khalwat
Copy link
Collaborator

khalwat commented Feb 29, 2024

hmmmm yeah there's nothing showing the stack trace for the error in there. Perhaps it's in another one of your log files?

@MattWilcox
Copy link
Author

Ahhhh, this might be more like it!

</script> {"memory":4780952} 
2024-02-27 15:36:24 [web.INFO] [nystudio107\seomatic\base\MetaItem::debugMetaItem] ERROR - JSON-LD property: dateCreated -> Must be one of these types: array, Date, Date[], array, DateTime, DateTime[] {"memory":4782240} 
2024-02-27 15:36:24 [web.INFO] [nystudio107\seomatic\base\MetaItem::debugMetaItem] Scenario: "google" for http://schema.org/{{ seomatic.meta.mainEntityOfPage }}
<script type="application/ld+json">
{
    "@context": "http://schema.org",
    "@type": "WebPage",
    "author": {
        "@id": "#identity"
    },
    "copyrightHolder": {
        "@id": "#identity"
    },
    "copyrightYear": "2024",
    "creator": {
        "@id": "#creator"
    },
    "dateCreated": "2024-02-13T14:27:35+00:00",
    "dateModified": "2024-02-27T14:30:17+00:00",
    "datePublished": "2024-02-13T14:32:00+00:00",
    "headline": "Test Page",
    "inLanguage": "en-gb",
    "mainEntityOfPage": "https://craft5-vca.ddev.site/test-page?siteToken=7cb0f916fe3f6ec943a26680bf51641c0d3e68477184e668196131a597f4e0ce1",
    "name": "Test Page",
    "publisher": {
        "@id": "#creator"
    },
    "url": "https://craft5-vca.ddev.site/test-page?siteToken=7cb0f916fe3f6ec943a26680bf51641c0d3e68477184e668196131a597f4e0ce1"
}
</script> {"memory":4802840} 
2024-02-27 15:36:24 [web.INFO] [nystudio107\seomatic\base\MetaItem::debugMetaItem] ERROR - JSON-LD property: dateCreated -> Must be one of these types: array, Date, Date[], array, DateTime, DateTime[] {"memory":4803048} 
2024-02-27 15:36:24 [web.INFO] [nystudio107\seomatic\base\MetaItem::debugMetaItem] ERROR - JSON-LD property: description -> This property is required by Google. {"memory":4803312} 
2024-02-27 15:36:24 [web.INFO] [nystudio107\seomatic\base\MetaItem::debugMetaItem] Scenario: "google" for http://schema.org/{{ seomatic.site.identity.computedType }}
<script type="application/ld+json">
{
    "@context": "http://schema.org",
    "@id": "#identity",
    "@type": "Organization"
}
</script> {"memory":4878712} 
2024-02-27 15:36:24 [web.INFO] [nystudio107\seomatic\base\MetaItem::debugMetaItem] ERROR - JSON-LD property: description -> This property is required by Google. {"memory":4879136} 
2024-02-27 15:36:24 [web.INFO] [nystudio107\seomatic\base\MetaItem::debugMetaItem] ERROR - JSON-LD property: name -> This property is required by Google. {"memory":4879448} 
2024-02-27 15:36:24 [web.INFO] [nystudio107\seomatic\base\MetaItem::debugMetaItem] WARNING - JSON-LD property: url -> This property is recommended by Google. {"memory":4879776} 
2024-02-27 15:36:24 [web.INFO] [nystudio107\seomatic\base\MetaItem::debugMetaItem] Scenario: "google" for http://schema.org/{{ seomatic.site.creator.computedType }}
<script type="application/ld+json">
{
    "@context": "http://schema.org",
    "@id": "#creator",
    "@type": "Organization"
}
</script> {"memory":4944224} 
2024-02-27 15:36:24 [web.INFO] [nystudio107\seomatic\base\MetaItem::debugMetaItem] ERROR - JSON-LD property: description -> This property is required by Google. {"memory":4944648} 
2024-02-27 15:36:24 [web.INFO] [nystudio107\seomatic\base\MetaItem::debugMetaItem] ERROR - JSON-LD property: name -> This property is required by Google. {"memory":4944960} 
2024-02-27 15:36:24 [web.INFO] [nystudio107\seomatic\base\MetaItem::debugMetaItem] WARNING - JSON-LD property: url -> This property is recommended by Google. {"memory":4945288} 
2024-02-27 15:36:24 [web.INFO] [nystudio107\seomatic\base\MetaItem::debugMetaItem] Scenario: "google" for http://schema.org/BreadcrumbList
<script type="application/ld+json">
{
    "@context": "http://schema.org",
    "@type": "BreadcrumbList",
    "description": "Breadcrumbs list",
    "itemListElement": [
        {
            "@type": "ListItem",
            "item": "https://craft5-vca.ddev.site",
            "name": "Homepage",
            "position": 1
        },
        {
            "@type": "ListItem",
            "item": "https://craft5-vca.ddev.site/test-page",
            "name": "Test Page",
            "position": 2
        }
    ],
    "name": "Breadcrumbs"
}

@khalwat
Copy link
Collaborator

khalwat commented Mar 1, 2024

Sadly, no... that's just pointing out some model validation errors. Happy to do a screen share with you at some point to try to get to the bottom of it if you like.

@MattWilcox
Copy link
Author

I'll try a proper clear out of logs and get it to regenerate the error. I thought I was just being ignorant, but yeah it didn't look like there was any real error to me either.

@MattWilcox
Copy link
Author

OK, so I wiped the log files and then:

  • Loaded an Entry in the CMS
  • Saved the Entry (no changes made)

It results in the "Failed Jobs" icon, with that original error from above.

Here are the complete log files for that:

@khalwat
Copy link
Collaborator

khalwat commented Mar 1, 2024

There isn't an error or stack trace in either of those logs, so that's not where the exception is being caught. Any other log files at all?

@MattWilcox
Copy link
Author

MattWilcox commented Mar 2, 2024

Nope, that was literally "empty the storage/logs directory out, save the entry, and then those two files were the only things in the directory after. No phperror.log or anything else. It's an odd one.

@MattWilcox
Copy link
Author

MattWilcox commented Mar 2, 2024

Here's a database dump and composer files just in case. I'm still consistently getting the issue - very weird.

(Zip because GitHub was eating the raw lock file).

@khalwat
Copy link
Collaborator

khalwat commented Mar 7, 2024

I get this error using your db dump:

mysql-1  | ERROR 1273 (HY000) at line 25: Unknown collation: 'utf8mb4_0900_ai_ci'

...attempting to fix...

@MattWilcox
Copy link
Author

Odd. This is a project entirely done in DDEV and from scratch with the Craft5 beta 1. You want a fresh export?

name: craft5-vca
type: craftcms
docroot: web
php_version: "8.2"
webserver_type: nginx-fpm
xdebug_enabled: false
additional_hostnames: []
additional_fqdns: []
database:
    type: mysql
    version: "8.0"
use_dns_when_possible: true
composer_version: "2"
web_environment: []

is the DDEV config.

@khalwat
Copy link
Collaborator

khalwat commented Mar 8, 2024

I got the project up and running by doing a search and replace in the db dump to change the collation from utf8mb4_0900_ai_ci to utf8mb4_unicode_ci

For whatever reason, the error reporting isn't happening, the exception isn't logged in queue.log but rather swallowed (probably a bug should be filed for craftcms/cms for this).

I was able to get a stack trace by running the CLI command php craft seomatic/sitemap/generate. I'll investigate what's going on from this.

/var/www/project $ php craft seomatic/sitemap/generate
Generating sitemap
Generating sitemap for single Homepage, siteId 1
Query 1/1 - elements: 1
Processing element 1/1 - Homepage
Exception 'ArgumentCountError' with message 'Too few arguments to function craft\base\Element::get(), 0 passed in /var/www/project/vendor/yiisoft/yii2/base/Component.php on line 231 and exactly 1 expected'

in /var/www/project/vendor/craftcms/cms/src/base/Element.php:900

Stack trace:
#0 /var/www/project/vendor/yiisoft/yii2/base/Component.php(231): craft\base\Element::get()
#1 /var/www/project/vendor/craftcms/cms/src/base/Element.php(2242): yii\base\Component->__isset('')
#2 /var/www/project/vendor/craftcms/cms/src/elements/Asset.php(1137): craft\base\Element->__isset('')
#3 /var/www/project/vendor/yiisoft/yii2/base/Model.php(1021): craft\elements\Asset->__isset('')
#4 /var/www/project/vendor/craftcms/cms/src/base/Element.php(4346): yii\base\Model->offsetExists('')
#5 /var/www/project/vendor/nystudio107/craft-seomatic/src/helpers/Sitemap.php(545): craft\base\Element->offsetExists('')
#6 /var/www/project/vendor/nystudio107/craft-seomatic/src/helpers/Sitemap.php(316): nystudio107\seomatic\helpers\Sitemap::assetSitemapItem(Object(craft\elements\Asset), Object(nystudio107\seomatic\models\MetaBundle), Array)
#7 /var/www/project/vendor/nystudio107/craft-seomatic/src/models/SitemapTemplate.php(169): nystudio107\seomatic\helpers\Sitemap::generateSitemap(Array)
#8 /var/www/project/vendor/nystudio107/craft-seomatic/src/console/controllers/SitemapController.php(104): nystudio107\seomatic\models\SitemapTemplate->render(Array)
#9 [internal function]: nystudio107\seomatic\console\controllers\SitemapController->actionGenerate()
#10 /var/www/project/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#11 /var/www/project/vendor/yiisoft/yii2/base/Controller.php(178): yii\base\InlineAction->runWithParams(Array)
#12 /var/www/project/vendor/yiisoft/yii2/console/Controller.php(180): yii\base\Controller->runAction('generate', Array)
#13 /var/www/project/vendor/yiisoft/yii2/base/Module.php(552): yii\console\Controller->runAction('generate', Array)
#14 /var/www/project/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('seomatic/sitema...', Array)
#15 /var/www/project/vendor/craftcms/cms/src/console/Application.php(91): yii\console\Application->runAction('seomatic/sitema...', Array)
#16 /var/www/project/vendor/yiisoft/yii2/console/Application.php(147): craft\console\Application->runAction('seomatic/sitema...', Array)
#17 /var/www/project/vendor/craftcms/cms/src/console/Application.php(122): yii\console\Application->handleRequest(Object(craft\console\Request))
#18 /var/www/project/vendor/yiisoft/yii2/base/Application.php(384): craft\console\Application->handleRequest(Object(craft\console\Request))
#19 /var/www/project/craft(13): yii\base\Application->run()
#20 {main}

khalwat added a commit that referenced this issue Mar 8, 2024
…g a sitemap with assets, and the field mapping was empty ([#1425](#1425))
khalwat added a commit that referenced this issue Mar 8, 2024
…g a sitemap with assets, and the field mapping was empty ([#1425](#1425))
khalwat added a commit that referenced this issue Mar 8, 2024
…g a sitemap with assets, and the field mapping was empty ([#1425](#1425))
@khalwat
Copy link
Collaborator

khalwat commented Mar 8, 2024

Addressed in the above commits

Craft CMS 3:

You can try it now by setting your semver in your composer.json to look like this:

    "nystudio107/craft-seomatic": "dev-develop as 3.4.73”,

Then do a composer clear-cache && composer update

…..

Craft CMS 4:

You can try it now by setting your semver in your composer.json to look like this:

    "nystudio107/craft-seomatic": "dev-develop-v4 as 4.0.43”,

Then do a composer clear-cache && composer update

…..

Craft CMS 5:

You can try it now by setting your semver in your composer.json to look like this:

    "nystudio107/craft-seomatic": "dev-develop-v5 as 5.0.0-beta.6”,

Then do a composer clear-cache && composer update

@khalwat khalwat closed this as completed Mar 8, 2024
@MattWilcox
Copy link
Author

Just seen this after the b6 got installed... seems fixed, thanks Andrew!

@MattWilcox
Copy link
Author

I got the project up and running by doing a search and replace in the db dump to change the collation from utf8mb4_0900_ai_ci to utf8mb4_unicode_ci

Discovered this, this morning, FYI...
https://craftcms.com/docs/5.x/upgrade.html#database-character-set-and-collation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants