Support » Fixing WordPress » Error in wpincludes classes.php

  • Hi,
    After upgrading WP to 2.3.1 i am getting this strange error.

    [29-Nov-2007 22:44:32] PHP Warning: preg_match() [function.preg-match]: Unknown modifier ‘.’ in /home/site/public_html/wp-includes/classes.php on line 99

    [29-Nov-2007 22:44:32] PHP Warning: preg_match() [function.preg-match]: Unknown modifier ‘.’ in /home/site/public_html/wp-includes/classes.php on line 100

    I have disabled all plugins but still getting this error in error_log file

    This error generates when some one view post file.. I have restored theme to original but nothing happened 🙁

    Please help!
    Moazam

Viewing 10 replies - 1 through 10 (of 10 total)
  • After upgrading WP to 2.3.1 i am getting this strange error.

    Have you tried removing wp-includes/classes.php and re-uploading the copy from the installation files? Often an error generated by one of the core files after an upgrade means the file did not get updated properly.

    Yes I did, that too..

    reinstalled wp, disabled plugins, restored to original theme but still getting same problem

    Then a look at the underlying code here may help. At those lines in classes.php preg_match() is part of the internal rewrites for permalinks. I’m not all that adept at working with WordPress’ rewriting scheme, but:

    What is the permalink structure you are using on the blog? If you reset the structure to default (temporarily), does the error remain?

    I am using custom option and here is it..
    /%category%/%post_id%/%postname%.html

    everything was working smooth.. before update..

    I deleted permalinks and changed to default it works.. so it means i can not use the custom permalinks? Please notice this bug

    This is NOT a bug. I applied exactly the same permalink structure as you posted above – and it works. It must be your server or something else interfering with it.

    moshu.. how is it possible all default are working fine but not the custom one?

    I don’t know. On some servers including the %category% just doesn’t work…
    Using_Permalinks

    If it *was* working but after your update to 2.3.1 it no longer is, you can certainly file a bug report to notify the developers:

    http://trac.wordpress.org/

    Be as detailed as possible in reporting it. You might also reference this thread.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Error in wpincludes classes.php’ is closed to new replies.