Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined variable: cptm_singular_name in class-cptm.php #21

Closed
Eklado opened this issue Sep 23, 2019 · 1 comment
Assignees

Comments

@Eklado
Copy link

@Eklado Eklado commented Sep 23, 2019

After upgrade to version 1.1.7, I got the following message in the Post type singular name:
<br /><b>Notice</b>: Undefined variable: cptm_singular_name in <b>/var/www/html/wp-content/plugins/custom-post-type-maker/class-cptm.php</b> on line <b>569</b><br />

I checked the code and I found that there is a typo in line 480 in class-cptm.php file.
$cptm_singular_nam misses an e at the end to be $cptm_singular_name.
This should fix the issue.

I am using WordPress 5.2.3 with Custom Post Type Maker Version 1.1.7

@zenopopovici

This comment has been minimized.

Copy link
Member

@zenopopovici zenopopovici commented Oct 23, 2019

Fixed. Releasing asap.

zenopopovici added a commit that referenced this issue Oct 23, 2019
Fixes #21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.