Skip to content

Conversation

@CySSoO
Copy link
Contributor

@CySSoO CySSoO commented Jan 22, 2026

Motivation

  • Prevent fatal SQL errors such as missing everblock_page table when prettyblocks are registered via hookActionRegisterBlock.

Description

  • Add a call to EverblockTools::checkAndFixDatabase() at the start of hookActionRegisterBlock in everblock.php so tables and columns are verified/created before calling EverblockPrettyBlocks::getEverPrettyBlocks().

Testing

  • No automated tests were executed for this change.

Codex Task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants