Warning: Undefined Variable $ref_key In C:\xampp\htdocs\Joomla-Test\administrator\components\com_categories\src\View\Categories\HtmlView.php On Line 302 - Question | JoomShaper
🎃 Halloween Sale is Live! Get 35% OFF on all plans. Sale ends soon! Get Offer

Warning: Undefined Variable $ref_key In C:\xampp\htdocs\Joomla-Test\administrator\components\com_categories\src\View\Categories\HtmlView.php On Line 302

S

Schmid

SP Page Builder 3 years ago

Hallo Ich bekomme diese Warnib^ngs:

Warning: Undefined variable $ref_key in C:\xampp\htdocs\Joomla-Test\administrator\components\com_categories\src\View\Categories\HtmlView.php on line 302

Warning: Undefined variable $url in C:\xampp\htdocs\Joomla-Test\administrator\components\com_categories\src\View\Categories\HtmlView.php on line 318

Warning: Undefined variable $url in C:\xampp\htdocs\Joomla-Test\administrator\components\com_categories\src\View\Categories\HtmlView.php on line 328

Was muss ich korrigieren?

use Joomla\CMS\MVC\View\HtmlView as BaseHtmlView; use Joomla\CMS\Pagination\Pagination; use Joomla\CMS\Toolbar\Toolbar; use Joomla\CMS\Toolbar\ToolbarHelper;

/**

  • Categories view class for the Category package.

  • @since 1.6 */ class HtmlView extends BaseHtmlView { /**

    • An array of items
    • @var array */ protected $items;

    /**

    • The pagination object
    • @var Pagination */ protected $pagination;

    /**

    • The model state
    • @var object */ protected $state;

    /**

    • Flag if an association exists
    • @var boolean */ protected $assoc;

0
4 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #46459

Hi,

sorry but this time it looks like Joomla error. All error links are from Joomla core files. Maybe PHP version is too new for installed Joomla or problem with CMS or localhost server settings.

Besides, Localhost is beyond support. Support Policy.

Migrate website to WWW then we can talk if it's with our software somehow releated. Or by now hide showing errors in php.ini file.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #46460

I found this: https://issues.joomla.org/tracker/joomla-cms/35942

you can find others topic as well by Google. Seems to be Joomla 4.0.4 problem. Why I am not surprised.

0
S
Schmid
Accepted Answer
3 years ago #46461

And more errors Wenn ich im SPPB auf frontend wechsle bekomme ich ein rote Maldung

Beine Berechtigung um diese Resourse einzusehen

Wo liegt der Fehler?

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #46462

English please with screenshots. Danke.

We deliver support on WWW only, not on your laptop.

0