Hello,
1) So, did the previous code help you? Could you, please remove your rating? Because as you can see server error was not related to our theme.
And if you have had provided us with all the necessary information at the start we would help you in no time.
2) Notice that you provided is related to WooZone plugin https://codecanyon.net/item/woocommerce-amazon-affiliates-wordpress-plugin/3057503 as you can see. It looks that plugin use functions that are deprecated for your PHP version. Do you plan to sell products from the Amazon? Disable this plugin if you don’t.
We are not plugin developers, https://codecanyon.net/user/aa-team team has created the plugin, so we can’t fix the mentioned notice, we can just inform the plugin developers that they have such issue. I posted the question here https://codecanyon.net/item/woocommerce-amazon-affiliates-wordpress-plugin/3057503/comments?page=341&filter=all#comment_24232450
Regards