Dr Adil Ramzan
asked 4 years ago

I get 500 error when i click on submit question, although question gets posted, but user sees 500 error. how to fix this.
Thank you so much for this awesome support. I have already shared my login details .
Best Regards.

1 Answers
DominicStaff
answered 4 years ago

Hi,
Please send me username & password of your site (via private answer) for further checking.
Regards,

dradil
replied 4 years ago

the problem was with buddy press, i enalbled the site tracking option and problem was solved. but again, when my theme updated, the related question widget that you had shifted below the single question, is again gone, can you please tell me how did you add it so that i can do it myself whenever theme updates? I am using the child theme, but you had made changes in the parent i think.

dominic Staff
replied 4 years ago

Please send me your FTP, I will access then help you resolve this issue in the child theme.
Also, help me remove the following code in the functions.php in your child theme:

function imedica_widgets_init() {
    register_sidebar( array(
        'name'          => __( 'Related question area', 'imedica' ),
        'id'            => 'related-sidebar',
        'description'   => __( 'Appears under posts', 'imedica' ),
        'before_widget' => '<aside id="%1$s" class="widget %2$s">',
        'after_widget'  => '</aside>',
        'before_title'  => '<h3 class="widget-title">',
        'after_title'   => '</h3>',
    ) );
add_action( 'widgets_init', 'imedica_widgets_init' );

Regards,

Powered by DW Question & Answer Pro