Catchable fatal error: Argument 1 passed to Genesis_Admin_CPT_Archive_Settings::
| |

Catchable fatal error: Argument 1 passed to Genesis_Admin_CPT_Archive_Settings::

This error is sometimes showing after updating the WordPress. It is advice to update your Genesis theme first before the WordPress. To fix this error, upload the latest version of your Genesis themes manually (FTP/cPanel). You can’t access the wp-admin if you get this error.

How to get current post/page/custom post type post data (ID, Post Name, Post Title, Etc.) in init action?

How to get current post/page/custom post type post data (ID, Post Name, Post Title, Etc.) in init action? If you have something to get in your current page and don’t know how to get the current post ID, post name, post type, post content, and many more, the codes below is the solution. Using init…