5
votes
Accepted
Your PHP Version Will Be Unsupported in Joomla! 3.3
its a bug that will be fixed in the next release - nothing to worry about
5
votes
Accepted
What changes in code are required to make Joomla 3.5 extensions PHP7 compatible?
Ok first thing's first. Joomla 3.5.0 stable will be released tomorrow next monday :)
I take a step back and firstly take a backup of your site and install it on a subdomain or your localhost, running ...
4
votes
Accepted
PHP 7 - how to get usefull information from an exception message?
For Joomla on php7+ non-fatal errors no longer contain the file and line in the error. The trick is to handle the output of these errors in your template's error.php file. Add the file if it doesn't ...
4
votes
PHP 7 Upgrade Breaks Joomla Theme
From the call stack it is obvious that a function call fails in vertex cms_core_functions.php, which function tries to load the modules on your page in positions, but instead of 2 arguments, it gets ...
3
votes
How can I fix "The PHP temporary folder is not set" warning/error?
Likely Joomla will work without issues even with the php's tmp directory not being set. However, if you get issues, or simply want to get rid of this warning in you Joomla Admin, then you have to ...
3
votes
JHTML::_('behavior.tooltip') — Set tooltip position
Firstly, I'll just point out that behavior.tooltip which is based on the JHtmlBehavior class, is old and deprecated, so I will base my answer on the newer Bootstrap tooltips.
Take the following HTML ...
3
votes
Accepted
Solidres Data Report for Joomla Admin
So basically your question is: how to become a Joomla plugin/component developer? - since you need a specific plugin/component which extends another Joomla component.
Since you have a quite nice ...
3
votes
Accepted
Upgrade from 3.8.7 to 3.8.8 - Failure - Using $this when not in object context
The random image module has an issue in Joomla 3.8.8. For details, see:
https://docs.joomla.org/J3.x:Module_random_image_PHP_Error_after_3.8.8
The solution can be found here:
https://github.com/...
2
votes
What changes in code are required to make Joomla 3.5 extensions PHP7 compatible?
This is NOT an answer to my question, I just wanted to share a link which I just found and which might be helpful in upgrading our Joomlas to 3.5:
There is a Google Doc "List of Joomla! Extensions ...
2
votes
How can I fix "The PHP temporary folder is not set" warning/error?
Step 1:
Just upload the upgrade package to the server via ftp or extract in cpanel file manager.
Step 2:
You will see an error after installation in the administration site only.
Go to Extensions, ...
2
votes
Accepted
Programmatically set article image
I don't see set() in the JTable docs. You also need to remember to re-encode the full column value before storing. The following is an untested snippet.
$db = JFactory::getDbo();
$query = $db->...
2
votes
Accepted
Search Tools not expanding for Advanced Module Manager
joomla.getOptions is a JS function available in Joomla 3.7+, hence the reason you have this error. You have two options:
Source an older version of Advanced Module Manager which is
compatible with ...
2
votes
Search Tools not expanding for Advanced Module Manager
It's important to keep your software up-to-date.Your Joomla 3.6.4 has been released in October 2016.
The most recent Joomla version is Joomla 3.9.19 (June 2020). In between those versions, whole bunch ...
2
votes
Broken website due to outdated installation and host php upgrade - how to migrate/upgrade manually?
I would suggest you switch back to the earlier version of PHP and upgrade the Joomla site to the latest level and then switch back to PHP 7.x
If you login to the hosting account for the website ...
2
votes
Accepted
PHP7.2 Notice: Only variables should be passed by reference in
Because the function argument contains a & at the beginning, it requires a variable to be passed by reference rather than referencing an object value directly.
So you'll need to replace this:
if ...
2
votes
Accepted
Mysqli using AS clause not working
Alias should be passed as second argument to quoteName(). When first argument is an array, second argument should also be an array of the same length. For columns without values you should pass null. ...
2
votes
Accepted
0 Call to a member function purgePrivate() on null
This is from Litespeed Cache. It is somehow related to the Joomla Login. You can test this is true by uninstalling the Litespeed Cache plugin.
I went into cPanel and I went to Terminal and I did a ...
2
votes
Undefined offset: 0 In old com_search override - PHP 8
for your first notice, array_chunk either returns an array or false, but your return statement always assumes that it's going to be an array. To fix this immediate issue, I would replace your return ...
1
vote
Accepted
Undefined offset: 0 In old com_search override - PHP 8
Without understanding much of the context of the task, I can advise a simpler pagination method.
My opinion is that it is almost never appropriate for an array parameter to be null. In my ...
1
vote
Accepted
Trouble linking external css file with Dompdf library
Ok so finaly I've found what wasn't working out and managed to get it to work without the basePath and with the use of DOMDocument.
This is what I was doing wrong in my code, and also why I was having ...
1
vote
0 Call to a member function purgePrivate() on null
Open lscache.php file
it's in the folder httpdocs/plugins/system/lscache
Comment on this Line 549
public function onUserAfterLogin($options) {
if (!$this->cacheEnabled) {
return;
}
...
1
vote
JFactory query to select field value if mulitple conditions are met
There are a few tips to offer here.
You only need one connection object for your file. Don't bother with multiple $db variables -- just keep re-using the same one. *Notice how your quote() and ...
1
vote
Accepted
Cannot Connect To MSSQL Server
As @Sharky said, it seems like your SQLSRV extension isn't enabled. You can manually activate it by changing your php.ini file, enabling this extension and downloading the drivers.
PHP Documentation ...
1
vote
Joomla backend not reflecting updated PHP version
Look in your .htaccess file to see what version of PHP was added via cPanel. Depending on the host it is usually reflected in either .htaccess or a php.ini file in the root of your directory. Just ...
1
vote
Accepted
Hikashop: Category Name in products listing div
This code will display the brand name of each product on the listing.
For the category name, you would need to do something like that instead:
<?php
$db = JFactory::getDBO();
$db->setQuery('...
1
vote
Accepted
0 - Using $this when not in object content
Don't quote me on this but I have a feeling it may be due to the mixing of curly braces and alternative syntax.
I've rewritten your modChrome using curly braces:
function modChrome_myCatMod($module, ...
1
vote
Upgrading to PHP 7.2 causes 500 Error
What 3rd party extensions do you have? My guess is your have a plugin or something that is having issues and that is causing the error. Make sure error reporting is set to E_ALL (check in phpinfo....
1
vote
After Login waring error You are not authorised to view this resource
I have Resolved this issue this is very basic solution .
1. You must have to give permissions public to all special and register menu.
2:You must have to give permissions public to all special and ...
1
vote
PHP 7 - how to get usefull information from an exception message?
The error you got after your PHP version upgrade says it loud:
the [] operator not supported for strings.
You are probably trying to push an array into a string or something of that sort.
You ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
php7 × 40joomla-3.x × 20
php × 9
mysql × 6
joomla-4.x × 4
joomla-3.7 × 3
joomla-3.6 × 2
update × 2
upgrade × 2
error-handling × 2
joomla-4 × 2
fatal-error × 2
development × 1
articles × 1
joomla-3.4 × 1
templates × 1
extensions × 1
custom-component × 1
administrator × 1
joomla-api × 1
database × 1
joomla-3.3.x × 1
custom-field × 1
k2 × 1
sef × 1