Forums

[Plugin: More Fields] Causing 404 Errors (8 posts)

  1. bdiddymc
    Member
    Posted 1 month ago #

    Is anyone else having an issue with more fields on WP 2.8.4 causing the site to break with 404 errors.

    If I deactivate more fields and reset the permalinks i am able to get things running again.

    I can then activate more fields and it works for a little while. But then something triggers (not sure exactly what function is running) and all my pages (except the front, which is set to a static page) return error 404's. Even if I try type the ID name in the addresses (e.g domain.com/?p=4).

    Seems this coupled with the javascript issues, More Fields is still a bit too buggy for the latest WP install? (which I guess is why it has been approved...)

    Any idea if a new release is being worked on?

    http://wordpress.org/extend/plugins/more-fields/

  2. LSmith
    Member
    Posted 1 month ago #

    I'm having this problem, glad I'm not the only one.

  3. LSmith
    Member
    Posted 1 month ago #

    Too buggy, had to deactivate the plugin because it broke all the links in the site and produced 404s in the latest WP version. Bummer, because it was looking like a great plugin.

  4. LSmith
    Member
    Posted 1 month ago #

    Anyone else experiencing this? Using this plugin?

  5. bdiddymc
    Member
    Posted 3 weeks ago #

    Be interested to bump this. Haven't come across a solution yet.

  6. thewaterproject
    Member
    Posted 3 weeks ago #

    Absolutely an issue! Me too...lost 5 hours of my life on this one. :) For me, WP Super Cache seemed to be a contributing factor. .htaccess files got wonky.

    Like bdiddymc it would be fine for a while, something would trigger it and bam 404s.

    Too bad...great plugin. Hope it gets fixed soon.

  7. MitchellGeere
    Member
    Posted 3 weeks ago #

    To get it working in the mean time just remove all the url rewrite filters for the plugin. Then just re-save all your fields... :), I also changed my permalinks to ?p={n} and then back to %postname% worked nicely. :)

  8. john.andrews
    Member
    Posted 3 weeks ago #

    @Mitchell you called it with the culprit being the rewrite filters... I changed more-fields-object.php lines 770:778 to the following and it seems to be working now.

    $slug = substr($field['slug'], 1, strlen($field['slug']));
    if (!$slug) continue;
    $key = $field['key'];
    
    $new_rules = array(
    	'$slug/(.+)' => 'index.php?mf_key=$key&mf_value=' .
    	$wp_rewrite->preg_index(1)
    );
    $wp_rewrite->rules = $new_rules + $wp_rewrite->rules;

Reply

You must log in to post.

About this Topic