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

Joomla + SP Page Builder + PHP 8.2 "Failed opening required" #74

Open
MPannier opened this issue Sep 19, 2023 · 0 comments
Open

Joomla + SP Page Builder + PHP 8.2 "Failed opening required" #74

MPannier opened this issue Sep 19, 2023 · 0 comments

Comments

@MPannier
Copy link

After Upgrading from PHP 8.1 to 8.2.10 I get the following error message:
Failed opening required 'C:\root\components\com_sppagebuilder\parser./../helpers/helper.php' (include_path='.;C:\php\pear')

Joomla 4.3.4
SP Page Builder 3.8.10 (Component)

In file "C:\root\components\com_sppagebuilder\parser\addon-parser.php" I changed the line 20 from

require_once DIR . './../helpers/helper.php';

to

require_once JPATH_ROOT . 'components/com_sppagebuilder/helpers/helper.php';

Now it works. I'm not sure if it is the right solution, or if someone else had problems using PHP 8.2?

Regards
Mathias

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