Pligg Support

The original MySQL extension is now deprecated, and will generate E_DEPRECATED errors when connecting to a database. Instead, use the MySQLi or PDO_MySQL extensions.

PHP Error LOG: PHP Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /usr/share/nginx/index/libs/html1.php on line 141

How ASAP will be fixed ?

Possible Answers

    I have the exact same issue and would like a fix..

    Should we manually do this ?

    use preg_replace_callback instead in /usr/share/nginx/html/class.compiler.php on line 246

    Linux webserver 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64

    PHP Version 5.5.9-1ubuntu4

    | Posted 629 days ago | Permalink | Hide Replies

    I have the same problem too as I need php 5.5 for another app - I am considering moving my entire pligg site to a new host... :(

    Will pligg core be updated to use 5.5 soon?

    | Posted 606 days ago | Permalink | Hide Replies

    you can fix some pages with preg_replace_callback but you will get other errors in other pages. So this is not a solution, the programmer need to switch to PDO extension which is much faster and can be use by other database drivers ... read . Anyway this script need an advanced cache system like memcache ...

    | Posted 629 days ago | Permalink | Hide Replies

Who Upvoted this Story's Support area is where you can ask questions and get answers. Just getting started with the Support area? This section describes tips for participating.

Submitting a Question or Comment

By taking a minute to research previous posts you may receive an answer much faster than waiting for a response to a new question. Begin by searching the support section for an answer. Sometimes you may even want to extend your search to the entire domain.

If you are unable to find a relevant answer, submit a new question or comment here. Please provide a detailed description and, when necessary, debugging information such as your server environment (a link to a <?php phypinfo(); ?> .php page would be very helpful), your web browser, and any steps necessary to reproduce your issue.

Submitting an Answer

If you have an answer or useful response that you would like to add to a post, you can submit it as a comment which other users will then vote on. Answers are sorted by most popular to least, allowing the best information to climb to the top of the page.

Please read and vote for existing answers before submitting your own, as there may already be an acceptable answer provided. You can use the "Reply" link found within an answer to submit a response to it, in case you want to expand or comment on someone else's contribution.

Including Files or Code

Sometimes it is necessary for you to attach a file or include a snippet of code for others to reference in your response. In most cases, you can .zip up files and attach them to a question or answer using Pligg's file manager. At times though this may fail, and in these circumstances we recommend using a third party host. Below we are including a list of recommended websites where you can share easily share file uploads (or snippets of code) through the web.