MODX PHP notice: Undefined index: templates - php

I've made MODX template and transport.zip file from html template and when try to install it I get this notice:
PHP notice: Undefined index: templates
I'm using MODX cloud 2.2 version.
Could someone help me how to fix this notice?

Related

How can I get my Joomla 3 to work correctly?

I need to do a very simple task for school in Joomla 3.10.3 but it doesn't seem to work correctly.
I'm trying to create modules but I can't, it gives me those errors:
Undefined property: Joomla\CMS\Object\CMSObject::$checked_out in C:\xampp\htdocs\Joomla3\administrator\components\com_modules\views\module\view.html.php on line 62
Warning: Undefined property: Joomla\CMS\Object\CMSObject::$position in C:\xampp\htdocs\Joomla3\administrator\components\com_modules\views\module\tmpl\edit_positions.php on line 17
Warning: Undefined property: Joomla\CMS\Object\CMSObject::$position in C:\xampp\htdocs\Joomla3\administrator\components\com_modules\views\module\tmpl\edit_positions.php on line 27
I've tried going into the files, but it looks like gibberish and I don't think I can fix it from there.
Maybe it's something with Joomla 3 being older and me having PHP version 8.1.10, dunno.
I think it is almost certainly the template that you are using is not compatible with PHP 8.1. A lot of the older Joomla 3 templates will throw errors. If you can switch to PHP 7.4.x I expect the problems will stop

`CakeResponse` referencing undefined variables in `compact()` call triggers errors/notices

I’m updating my first CakePHP application on a web server, but pages show errors which are at the end of this post. I can’t find the file(s) which have not uploded correctly. Thanks for help.
CakePHP version : 2.9
Error messages :
Notice (8): compact(): Undefined variable: etagMatches [CORE/Cake/Network/CakeResponse.php, line 1171]*
Notice (8): compact() [function.compact]: Undefined variable: timeMatches [CORE/Cake/Network/CakeResponse.php, line 1171]*
Notice (8): compact() [function.compact]: Undefined variable: subject [CORE/Cake/Utility/ObjectCollection.php, line 128]*
As of PHP 7.3 compact() will trigger an error when referencing undefined variables.
This has been fixed in CakePHP 2.10.13, either upgrade your application (preferred), or downgrade your PHP version.
https://github.com/cakephp/cakephp/pull/12487

How to solve Undefined index: language in SMARTY framework

When I run the project I get an error saying:
Undefined index: language.
If anyone knows the answer please help!
thanks.

How to create a SubReport in iReport 5.6 integrated with PHPJasperXML

I'm trying to create a SubReport in iReport 5.6 integrated with PHPJasperXML, but I'm having some troubles... Can anyone help me ?
How to pass the REPORT_CONNECTION to the SubReport? I put to use the same connection of the Main report, but it didn't work...
Notice (8): Undefined property: PHPJasperXMLSubReport::$gname [APP\Vendor\PHPJasperXML\class\PHPJasperXMLSubReport.inc.php, line 631]
Notice (8): Undefined variable: isPrintRepeatedValues [APP\Vendor\PHPJasperXML\class\PHPJasperXMLSubReport.inc.php, line 650]
Fail to connect database

Joomla 3.0.2 to 3.0.3 upgrade causes blank front and back end

Tried to upgrade Joomla site from 3.0.2 to 3.0.3 using the web interface and this caused the front and backend to go down. The logs read as follows:
[31-Dec-2013 09:08:19 America/Regina] PHP Notice: Undefined index: HTTP_USER_AGENT in /home/nicsca/public_html/libraries/gantry/core/gantrybrowser.class.php on line 91
[31-Dec-2013 09:08:20 America/Regina] PHP Notice: Undefined index: HTTP_USER_AGENT in /home/nicsca/public_html/modules/mod_roknavmenu/lib/common/RokBrowserCheck.php on line 22
[31-Dec-2013 09:40:19 America/Regina] PHP Fatal error: Call to a member function get() on a non-object in /home/nicsca/public_html/plugins/system/remember/remember.php on line 94
I'm at a lost (fairly new to Joomla) and any help would be really appreciated!
Since remember is giving you a fatal error, unpublish that plugin by editing the extensions table in your database, at least then your site should load.
Update:
It is very strange that the updater is telling you 3.0.3. IF you go to the options for the Joomla update component, what settings are showing in the pop up?

Categories