7.01.03 version , errors after change from php 5.4 to 5.6 ( I guess) only on gallery -pictureflow pages in http://www.autotpbouters.nl, works fine otherwise
when clicking thumbnail I get:
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /public/sites/www.autotpbouters.nl/includes/bbcodes/url_bbcode_include.php on line 21
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /public/sites/www.autotpbouters.nl/includes/bbcodes/url_bbcode_include.php on line 22
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /public/sites/www.autotpbouters.nl/includes/bbcodes/mail_bbcode_include.php on line 20
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /public/sites/www.autotpbouters.nl/includes/bbcodes/mail_bbcode_include.php on line 21
Is perhaps kind of problem as poster of 27/1
Can I manuel change code and with what?
Has it to do with this http://php.net/manual/en/migration55.deprecated.php ?
The preg_replace() /e modifier is now deprecated. Instead, use the preg_replace_callback() function.
Can that preg_replace() /e just be switched by preg_replace_callback() function, or does it need more ??? Am no php programmer.
Needs more, when changed just that I get instead of above msg, a lot more eek:
Warning: preg_replace_callback(): Requires argument 2, ''<a href=\'\2\3\' target=\'_blank\' title=\'\2\3\'>'.trimlink('\2\3', 20).(strlen('\2\3'>30?substr('\2\3', strlen('\2\3'-10, strlen('\2\3'):''.'</a>'', to be a valid callback in /public/sites/www.autotpbouters.nl/includes/bbcodes/url_bbcode_include.php on line 21
Warning: preg_replace_callback(): Requires argument 2, ''<a href=\'http://\2\' target=\'_blank\' title=\'\2\'>'.trimlink('\2', 20).(strlen('\2'>30?substr('\2', strlen('\2'-10, strlen('\2'):''.'</a>'', to be a valid callback in /public/sites/www.autotpbouters.nl/includes/bbcodes/url_bbcode_include.php on line 22
Warning: preg_replace_callback(): Requires argument 2, '<a href='\2\3' target='_blank' title='\2\3'>\4</a>', to be a valid callback in /public/sites/www.autotpbouters.nl/includes/bbcodes/url_bbcode_include.php on line 23
Warning: preg_replace_callback(): Requires argument 2, '<a href='http://\2' target='_blank' title='\2'>\3</a>', to be a valid callback in /public/sites/www.autotpbouters.nl/includes/bbcodes/url_bbcode_include.php on line 24
Warning: preg_replace_callback(): Requires argument 2, 'hide_email('\2'.''', to be a valid callback in /public/sites/www.autotpbouters.nl/includes/bbcodes/mail_bbcode_include.php on line 20
Warning: preg_replace_callback(): Requires argument 2, 'hide_email('\2'.''', to be a valid callback in /public/sites/www.autotpbouters.nl/includes/bbcodes/mail_bbcode_include.php on line 21
Need help?, Having trouble? • View our Documentation for Guides, Standards and Functions • Name and Organize your Topics and Content correctly in the corresponding Forums for best support results • Attaching Log Files and Screenshots when reporting issues will help • Provide with an URL to live example if one exists • Please read the How to Report an Error post • Please read and comply with the Code of Conduct
Yes notices are not terminal for the site, the site should work just fine even with them. We wont be doing updates to the PHPFusion 7 BBCodes any time soon since our development man hours are focused on 9.
Need help?, Having trouble? • View our Documentation for Guides, Standards and Functions • Name and Organize your Topics and Content correctly in the corresponding Forums for best support results • Attaching Log Files and Screenshots when reporting issues will help • Provide with an URL to live example if one exists • Please read the How to Report an Error post • Please read and comply with the Code of Conduct
The latest 7 pack will not fix those notices, but you should use it anyway due to security fixes. PHPFusion 9 Rc 2 is quite stable, but we have a sharp release ready very soon. It fixes your notices issues but it might also give you a set of new issues depending on theme and Addons you will use to it. It is totally worth the upgrade if you feel that you can tinker some with it.
was easy solve (I think) took latest 9 package searched for same filenames and replaced them in my 7.0 version, works like a charm (sofar), saves me from new bugsin 9 version.
Need help?, Having trouble? • View our Documentation for Guides, Standards and Functions • Name and Organize your Topics and Content correctly in the corresponding Forums for best support results • Attaching Log Files and Screenshots when reporting issues will help • Provide with an URL to live example if one exists • Please read the How to Report an Error post • Please read and comply with the Code of Conduct
I know, thats why I compared the files, this is bbcodes, so not exactly corefiles. My expirience is mostly in SMF sites(30+) biggest get 2 million pageviews a year , that uses also kind of same structure.
Need help?, Having trouble? • View our Documentation for Guides, Standards and Functions • Name and Organize your Topics and Content correctly in the corresponding Forums for best support results • Attaching Log Files and Screenshots when reporting issues will help • Provide with an URL to live example if one exists • Please read the How to Report an Error post • Please read and comply with the Code of Conduct