I just updated Route theme from 2.6 to 6.7. I needed to update because there was an error showing up and the whole site was broken. It displayed this message:
Too few arguments to function add_action(), 1 passed in /nas/content/live/dccindiana/wp-content/themes/route-child/functions.php on line 21 and at least
I had to ask WP Engine to change the active theme so that I could even log into the WP Admin area.
Now that I have updated the Route theme I have a child theme that is still showing that it is on version 2.6 and when I try the Live Preview of the child theme, it still displays the same "ArgumentCountError thrown" message. So if I activate the child theme again, I know it will break the site again.
How do I update the child theme files now that Route is updated, but without losing any modifications in the child theme?
P.S. Also, the Route update helper plugin did not delete after update for some reason.
Thank you for your help!
Actually it is normal. as you know, the child theme doesn't update when update main theme for without losing any modifications.
// wrong add_action( 'cs_top_bar_module' ); // correct add_action( 'cs_top_bar_module', 'cs_mobile_icon' );CopyCopied!
Is there another issue ? let me know.
Awesome! Thanks so much for checking into that.