Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 7.3 Error: `Symphony Warning: Use of undefined constant self - assumed 'self' (this will throw an Error in a future version of PHP) #40

Closed
wdebusschere opened this issue Mar 25, 2019 · 0 comments

Comments

@wdebusschere
Copy link
Contributor

Symphony: 2.7.8
PHP: 7.3.1

`Symphony Warning: Use of undefined constant self - assumed 'self' (this will throw an Error in a future version of PHP)
An error occurred in /Users/xxx/Sites/xxx/extensions/page_lhandles/lib/class.PLHManagerURL.php around line 144

139 // Assure we have a op_mode set
140 $op_mode = empty($op_mode) ? 'strict' : $op_mode;
141 $method = 'process'.ucfirst(strtolower($op_mode));
142
143 if (method_exists(get_class(), $method)) {
144 $path = call_user_func(array(self, $method), $old_url, $ref_handle, $target_handle);
145 }
146 else {
147 $path = trim($url, '/');
148 }`

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

No branches or pull requests

1 participant