64 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • France
  • Has been a member for 3-4 years
  • Sold between 1 000 and 5 000 dollars
PerfectPixels says

Hi everybody,

I am building my theme in Wordpress 3.0, all went fine until I put it on my live server and got like 20 lines on the top of all pages that error: Warning: preg_match() [function.preg-match]: Compilation failed: nothing to repeat at offset 1 in /homez.116/.../wp-includes/classes.php on line 210.

After some research on google, I wrote that it is a common problem on WP 3 .0 and the only way to get it works is to play with the permalink settings and everything come back to normal as it did for me. But as soon as I put my permalink setting /%category%/%postname%/ back and modify even just a word in a page I got that crapy error again…

The only fear I have with that is if a customer upload my theme he will get that too, so if anybody here has the same problem, could you please share you experience and how you did deal with it.

By the way, I created 2 custom post type with a rewrite rules, so I think that could be the problem…

Hope somebody can help me.

All the best.

2440 posts
  • Has been a member for 5-6 years
  • Exclusive Author
  • Europe
  • Bought between 10 and 49 items
  • Referred between 100 and 199 users
  • Sold between 100 and 1 000 dollars
  • Envato Studio (Microlancer) Beta Tester
digitalimpact says

You can’t use /%category%/%postname%/ permalinks with custom post types, no matter if you set rewrite rules.

Custom post types are more like pages, even if you can “make” them non-hierarchical …

This is currently the only workaround I found (get that plugin ;) ).

64 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • France
  • Has been a member for 3-4 years
  • Sold between 1 000 and 5 000 dollars
PerfectPixels says

Thanks DI,

Yeah I remember that post, but I am not sure if this error comes from that, plus I don’t really like using a plugin but I’ll give it a try.

The only thing that suck is the fact that all categories will be together.

Thanks mate ;)

64 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • France
  • Has been a member for 3-4 years
  • Sold between 1 000 and 5 000 dollars
PerfectPixels says

Anybody else experienced the same issue??

by
by
by
by
by
by