You (or Joomla) is likely including this file multiple times. Enclose your function in a conditional block:
if (!function_exists('parseDate')) {
// ... proceed to declare your function
}
More Related Contents:
- PHP Fatal error: Using $this when not in object context
- Laravel function name must be a string [closed]
- PHP syntax for dereferencing function result
- Deprecated: mysql_connect() [duplicate]
- How can I handle the warning of file_get_contents() function in PHP?
- What is the difference between a language construct and a “built-in” function in PHP?
- Are PHP functions case sensitive?
- How to get JavaScript function data into a PHP variable
- How would I skip optional arguments in a function call?
- How to catch the fatal error: Maximum execution time of 30 seconds exceeded in PHP
- Use a variable to define a PHP function
- Shorten long numbers to K/M/B?
- PHP function with variable as default value for a parameter
- Function list of php file
- PHP syntax for dereferencing function result
- Why are PHP function calls *so* expensive?
- PHP: $_GET and $_POST in functions?
- PHP Fatal error: Cannot access empty property
- Jquery ajax setTimeout after form succes not redirecting?
- Undefined variable problem with PHP function
- strcmp equivelant for integers (intcmp) in PHP
- WordPress Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /wp-includes/wp-db.php:1570
- PHP get all arguments as array?
- Use php namespace inside function
- Fatal error: Call to undefined method mysqli_stmt::get_result()
- PHP Function with Optional Parameters [duplicate]
- How to remove backslash on json_encode() function?
- Function To Create Regex Matching a Number Range
- Access an Array Returned by a Function [duplicate]
- Why is it considered bad practice to use “global” reference inside functions? [duplicate]