Skip to content

Release v1.0.6-rc13

Pre-release
Pre-release

Choose a tag to compare

@Christian-Devora Christian-Devora released this 17 Dec 14:04

Fix: Composer Autoloader Check

Problem

Plugin would cause fatal errors if installed without running composer install, making it unclear what went wrong.

Solution

  • Added check for Composer autoloader before requiring it
  • Shows helpful admin notice if vendor/autoload.php is missing
  • Prevents fatal errors and provides clear guidance to administrators

Changes

  • ✅ Added file_exists check for vendor/autoload.php
  • ✅ Added admin notice with clear error message
  • ✅ Graceful plugin initialization failure if autoloader missing

Benefits

  • Prevents fatal errors on incomplete installations
  • Clear error message guides administrators to fix the issue
  • Better user experience during plugin setup

Files Changed

  • wp-plugin/utilitysign/utilitysign.php - Added autoloader check with admin notice