Home Email My Account

PHP Warning: Use of undefined constant Y - assumed 'Y'

Error: PHP Warning:  Use of undefined constant Y - assumed 'Y' (this will throw an Error in a future version of PHP)

Cause: Warning occurs in PHP function like date(Y) where the string Y is not in enclosed with quotation marks.

Solution: Enclose string with single or double quotation marks.

Example: date('Y')

Last Updated: October 4, 2020

Comments

First Name:*
Last Name:*
Email:*
Comment:
Rating:

Domain Registration

Hosting

Website Builder

Web Design

SSL Certificates

Website Security

Microsoft 365

SEO

Email Marketing

Contact Support

WHOIS

© 2025 Fagan Media