PHPackages                             steffenmaechtel/exception\_handling\_for\_typo3\_db - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. steffenmaechtel/exception\_handling\_for\_typo3\_db

ActiveTypo3-cms-extension[Utility &amp; Helpers](/categories/utility)

steffenmaechtel/exception\_handling\_for\_typo3\_db
===================================================

TYPO3 CMS extension: Throw exception in case of error instead of show error with DebugUtility::debug

0.0.2-alpha(7y ago)09GPL-2.0-or-laterPHPPHP &gt;=7.0.0,&lt;7.3.0

Since Nov 30Pushed 7y ago1 watchersCompare

[ Source](https://github.com/steffenmaechtel/exception_handling_for_typo3_db)[ Packagist](https://packagist.org/packages/steffenmaechtel/exception_handling_for_typo3_db)[ Docs](https://github.com/steffenmaechtel/exception_handling_for_typo3_db)[ RSS](/packages/steffenmaechtel-exception-handling-for-typo3-db/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (3)Used By (0)

exception\_handling\_for\_typo3\_db extension for TYPO3 CMS
===========================================================

[](#exception_handling_for_typo3_db-extension-for-typo3-cms)

Throw exception in case of error instead of show error with DebugUtility::debug

Current handling in TYPO3 8.x with the old $GLOBALS\['TYPO3\_DB'\]
------------------------------------------------------------------

[](#current-handling-in-typo3-8x-with-the-old-globalstypo3_db)

Execution of a wrong sql query only shows a debug message and dont throw an exception

`$GLOBALS['TYPO3_DB']->sql_query('SELECT not_existing_field FROM pages');`

In case of using a redirect after this query ($this-&gt;redirect()) the error is not shown at all

What does this extension do
---------------------------

[](#what-does-this-extension-do)

Overload the class behind $GLOBALS\['TYPO3\_DB'\] and throw exception in case of sql error

Notice
------

[](#notice)

Avoid using $GLOBALS\['TYPO3\_DB'\]. Its deprecated since TYPO3 8.5.

Use the new \\TYPO3\\CMS\\Core\\Database\\ConnectionPool.

This extension might help in case you cant rewrite old stuff using $GLOBALS\['TYPO3\_DB'\].

@see

@see [https://docs.typo3.org/typo3cms/extensions/core/Changelog/8.5/Deprecation-78244-DeprecateTYPO3\_DBAndPreparedStatementClass.html](https://docs.typo3.org/typo3cms/extensions/core/Changelog/8.5/Deprecation-78244-DeprecateTYPO3_DBAndPreparedStatementClass.html)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

2

Last Release

2719d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bdccd0ea7ef4cc6067d6212529b5bf8546257b10d660c10e453383a74ac2ad51?d=identicon)[steffenmaechtel](/maintainers/steffenmaechtel)

---

Top Contributors

[![steffenmaechtel](https://avatars.githubusercontent.com/u/607626?v=4)](https://github.com/steffenmaechtel "steffenmaechtel (17 commits)")

---

Tags

cmstypo3

### Embed Badge

![Health badge](/badges/steffenmaechtel-exception-handling-for-typo3-db/health.svg)

```
[![Health](https://phpackages.com/badges/steffenmaechtel-exception-handling-for-typo3-db/health.svg)](https://phpackages.com/packages/steffenmaechtel-exception-handling-for-typo3-db)
```

###  Alternatives

[dmitryd/typo3-dd-googlesitemap

Google sitemaps for TYPO3

24198.0k](/packages/dmitryd-typo3-dd-googlesitemap)[t3kit/t3kit

t3kit project. A TYPO3 website starterkit.

5624.3k](/packages/t3kit-t3kit)[koninklijke-collective/my-redirects

TYPO3 Extension: Redirects management

17152.4k](/packages/koninklijke-collective-my-redirects)[codingfreaks/cf-cookiemanager

Manage cookies, scripts, and GDPR compliance on your Typo3 website with CodingFreaks Typo3 Cookie Manager. Customize cookie banners, streamline workflow, and enhance user experience. Ensure GDPR compliance and take control of cookie management with our Typo3 cookie management extension. Visit the official Typo3 Documentation page to learn more.

1625.8k](/packages/codingfreaks-cf-cookiemanager)[t3kit/theme-t3kit

Base Theme fot t3kit project

2410.2k](/packages/t3kit-theme-t3kit)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
