Error

处理您的请求时发生错误: Undefined array key "url"

错误类型:
Error
错误信息:
Undefined array key "url"
文件:
/www/wwwroot/mnbt.80128d/usr/themes/inaline/core/Components/ArticleHeader.php
行号:
42
相关代码:
36            <h1 class="article-header-title"><?= $title ?></h1>
37
38            <!-- 文章分类 -->
39            <?php if (!empty($categories)): ?>
40            <div class="article-header-categories">
41                <?php foreach ($categories as $category): ?>
42                <a href="<?= $category['url'] ?>" class="article-header-category">
43                    <?= $category['name'] ?>
44                </a>
45                <?php endforeach; ?>
46            </div>
47            <?php endif; ?>
48

调用栈:

#0 /www/wwwroot/mnbt.80128d/usr/themes/inaline/core/Components/ArticleHeader.php:42 → onError()
#1 /www/wwwroot/mnbt.80128d/var/Widget/Archive.php:1308 → require()
#2 /www/wwwroot/mnbt.80128d/usr/themes/inaline/core/Widgets/Common.php:57 → need()
#3 /www/wwwroot/mnbt.80128d/usr/themes/inaline/post.php:57 → Component()
#4 /www/wwwroot/mnbt.80128d/var/Widget/Archive.php:1390 → require_once()
#5 /www/wwwroot/mnbt.80128d/var/Typecho/Router.php:88 → render()
#6 /www/wwwroot/mnbt.80128d/index.php:23 → dispatch()