We’re with you. JoomShaper is offering a 20% Discount on all plans due to the impact of COVID-19.

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Creating default object from empty value // Call to undefined method stdClass

Featured Lock Resolved Issue
Brand new install of Joomla 3.8.3 and Page Builder 3.0.4. I'm trying to install my License information in the tab and I get the following errors:

Warning: Creating default object from empty value in .... /administrator/components/com_config/config.php on line 28

Fatal error: Call to undefined method stdClass::execute() in .... /administrator/components/com_config/config.php on line 31

5 Answers

Paul Scarnegie

More than a month ago #Permalink
Well ... for what ever it's worth ... this had absolutely nothing to do with any core Joomla files. Apparently you just can't use MySQLi when installing Joomla, which is the default option at least on my server. It appears to work fine if I reinstall using MySQL, just not MySQLi. Not sure why. According to what I've seen online;

The MySQLi extension comes equipped with many benefits that compliment as well as improve those that were provided by its predecessor, MySQL. There are a few that are more prominent than others. These features that are meant to enhance the functionality of the MySQL (as well as provide an update to the database manager as a whole) are an object oriented interface, support for statements that have been previously prepared, support for a variety of statements, support for any kind of transaction that takes place, an enhanced level of debugging support, and an enhanced level of server support that is already embedded in the infrastructure of the database.

Read more: Difference Between MySQL and MySQLi | Difference Between http://www.differencebetween.net/technology/difference-between-mysql-and-mysqli/#ixzz53JmL5hvc

Paul Frankowski - Staff

More than a month ago #Permalink
Hi,
Wow, never seen error in that place before.
1) can you show us screenshot with issue.
2) Have you checked all Technical requirements before installation of SPPB 3 ?
3) This error looks like from Joomla core files, it's not from our software

components/com_config/config.php on line 28

please check on Official Joomla forum first.

Paul Frankowski - Staff

More than a month ago #Permalink
Not sure why


I guess you have to talk with Hosting support.
According to stats over 70% of users Install Joomla with MySQLi set by default.
Yes, without any problems.

Paul Scarnegie

More than a month ago #Permalink
Might indeed be something related to the hosting environment. I removed the installation from my shared hosting environment (which again worked as a MySQL install) and reinstalled on a dedicated box as MySQLi and didn't appear to have any problems. To be fair, the dedicated box installation was utilizing the template 'package' which already had everything in it (as opposed to installing the Joomla installer and then the page builder), however it didn't seem to have any issues when I added my credentials to it. Just an FYI.


There are no replies made for this post yet.
Be one of the first to reply to this post!

126

Templates

333684

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us