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 8 #183

Open
021fneves opened this issue May 31, 2024 · 2 comments
Open

PHP 8 #183

021fneves opened this issue May 31, 2024 · 2 comments

Comments

@021fneves
Copy link

Does PHPageBuilder work with PHP 8?

@bipalam
Copy link

bipalam commented Aug 9, 2024

I don't think so. I am on 8+ and I get this error when I try to create a new page -
Deprecated: Creation of dynamic property PHPageBuilder\PageTranslation::$id is deprecated in /var/www/vhosts/xxxxx.com/httpdocs/phpagebuilder/src/Repositories/BaseRepository.php on line 236

@webffo
Copy link

webffo commented Nov 10, 2024

The page builder is working, that's just a deprecation warning. You can hide it by setting either
error_reporting(E_ALL & ~E_DEPRECATED);
or by
ini_set('display_errors', 0);

in your index.php. The script functions as expected, it might not work with future php releases though.

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

3 participants