Creating custom post in wordpress error

Solution:

As the blunder expresses, the _x() work has two required boundaries: (1) the line of text to be interpreted, (2) setting data for the interpreters.

In the event that you don’t have to incorporate setting, you can utilize __(). On the off chance that you don’t have to decipher the string…don’t use either work.

Both of the accompanying would be legitimate:

‘label’ => __(‘Recipes’),

‘singular_label’ => __(‘Recipe’),

or…

‘label’ => ‘Recipes’,

‘singular_label’ => ‘Recipe’,