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 2w ago

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 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

2768d 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

[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103519.9k45](/packages/friendsoftypo3-content-blocks)[typo3/cms-styleguide

TYPO3 extension to showcase TYPO3 Backend capabilities

106760.3k28](/packages/typo3-cms-styleguide)[wazum/sluggi

TYPO3 extension for URL slug management with inline editing, auto-sync, locking, access control, and redirects

40529.5k](/packages/wazum-sluggi)[friendsoftypo3/visual-editor

TYPO3 CMS Visual Editor - Brings a modern WYSIWYG editing experience to TYPO3 CMS.

576.1k2](/packages/friendsoftypo3-visual-editor)[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.

1829.2k](/packages/codingfreaks-cf-cookiemanager)[wapplersystems/ws-scss

Compiles SCSS to CSS at runtime with caching, TypoScript variables and EXT: import support

11144.8k7](/packages/wapplersystems-ws-scss)

PHPackages © 2026

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