Tech Space Hub

An error has occurred: 0 Call to undefined method Joomla\Database\Mysqli\MysqliDriver::query()

After migrating any website from Joomla 3.x to Joomla 4.x, we encounter the aforementioned issue since Joomla 4.x no longer supports the query() method. Additionally, if a plugin is updated from a Joomla 3.x version to a Joomla 4.x version, this can also happen. In its place, we must use the execute() method. Examining the …

An error has occurred: 0 Call to undefined method Joomla\Database\Mysqli\MysqliDriver::query() Read More »

Uncaught Error: Syntax error, unrecognized expression: [href$=#abc]

When using an attribute-based selection, we frequently get the jQuery error “Syntax error, unknown expression for href” because we failed to wrap unusual characters in quotation marks. It must be encapsulated in double quotation marks. The code contained in the if statement above will not run due to an error that looks like “Uncaught Error: …

Uncaught Error: Syntax error, unrecognized expression: [href$=#abc] Read More »

Portfolio Cases

With three various layouts and a combination of filters and sorting for each layout, the portfolio case component allows you to display your projects. It supports any device and presents your portfolio using jQuery and CSS3 with a variety of animations for each layout (Desktop, Laptop, Tab, and Mobile). For both admin and front-end users, …

Portfolio Cases Read More »

How can I change the date/time format in Joomla 4 so that it appears on the front end in the custom-built template, component, module, and plugin?

The database stores dates and times in the format 0000-00-00 00:00:00 by default for Joomla. Most of the time, we required a better method than the standard DateTime format to display on the front end. Although the date() method in the PHP core can be used to update the date and time, it is preferable …

How can I change the date/time format in Joomla 4 so that it appears on the front end in the custom-built template, component, module, and plugin? Read More »

How to truncate a string in Joomla?

We frequently need to truncate text blocks for our custom-built templates, modules, plugins, and components. To accomplish that, we can use JHTML Helper. By specifying a text length, this technique will truncate a text block rather than individual words. The first space that falls under the limit will be found, and the process will terminate …

How to truncate a string in Joomla? Read More »

Trying to uninstall unknown extension from package. This extension may have already been removed earlier.

This error message often shows during uninstalling a package from Joomla. It is because of the id in the <file> tag. Every id in the package should be unique, let’s see an example below. Closely have a look at the above syntax, the zip file name and id of that file should be the same. …

Trying to uninstall unknown extension from package. This extension may have already been removed earlier. Read More »

Shopping Cart