-
AuthorPosts
-
November 20, 2019 at 4:39 pm #1158535
I am receiving this error in the backend of my admin:
Notice: Trying to get property ‘item_id’ of non-object in /var/www/wp-content/themes/enfold/framework/php/auto-updates/class-pixelentity-theme-update.php on line 93
I am running WordPress 5.3, PHP 7.2, Enfold 4.6.3.1
I saw a previous thread on how to hide it, but I am interested in how to fix it.
Thank you.November 21, 2019 at 7:11 am #1158728Hey classywebsites,
Thanks for the login details, does your site have a URL as well? The notice you are seeing should not affect any functionality on your site. Please check your debug settings, if debug is on then you can turn it off if you like: https://wordpress.org/support/article/debugging-in-wordpress/
Best regards,
RikardNovember 21, 2019 at 1:23 pm #1158812Hi Rikard,
Yes, it has a url. Please see private content.
Thank you for the link on how to hide it, but I am interested in how to fix it.
The error in the backend of my admin: is related to Enfold:
Notice: Trying to get property ‘item_id’ of non-object in /var/www/wp-content/themes/enfold/framework/php/auto-updates/class-pixelentity-theme-update.php on line 93Thank you.
- This reply was modified 5 years ago by classywebsites.
November 22, 2019 at 5:32 am #1159002Hi,
Thanks for that, though I can’t see any error messages on the backend of your installation. Where exactly are you seeing it?
I see that you haven’t added a token to your theme, please consider doing that: https://kriesi.at/documentation/enfold/theme-registration/
Best regards,
RikardNovember 22, 2019 at 4:49 pm #1159214Hi Rikard,
Please see the private content for a screenshot of the error.
I added the token to the parent theme, not the child theme, in 2018. I update the parent theme, not the child theme, each time there is an update.Can you please help?
Thank you.November 24, 2019 at 5:51 am #1159550Hi,
Thanks for that, though I still can’t see any problems on my end. Please see private.
You should add the API key to the active theme, in your case that would be the child theme.
Best regards,
RikardNovember 24, 2019 at 3:02 pm #1159593Hi Rikard,
Since it appears sometimes, I took a screenshot and placed it in private content below.
Were you able to see the screenshot?The reason I put the API key in the parent only and not the child is to avoid the child from being overwritten with theme updates.
Thank you.November 26, 2019 at 5:52 am #1160192Hi,
Your child theme will never be overwritten on updates, that is the whole purpose of having a child theme. I saw the screenshot of the notices yes, but if it can’t be reproduced then how can we know what is causing it? Also, is something not working because of this? If not then you should be able to ignore those notices as they will likely not affect any actual functionality of the theme.
Best regards,
RikardNovember 26, 2019 at 5:01 pm #1160403Hi Rikard,
Now that you have confirmed that the “child theme will never be overwritten on updates”, I inserted the Envato private token and clicked “Check the private token”. And received the following message:
We checked the token on 2019/11/26 14:37 and we were able to connect to Envato and could access the following information…Line 93 of wp-content/themes/enfold/framework/php/auto-updates/class-pixelentity-theme-update.php is:
if ( ! in_array( $current->item_id, $purchased_ids ) )
I am assuming it was checking for the token in the child theme.Everything was working prior to adding the token. I just like everything working without errors or notices (like the fact that the LayerSlider in the Enfold theme needs to be updated again). You never know if an error or notice is causing a problem you just have not noticed yet. It’s always better to get ahead of these things. Hopefully, the error will go away after I confirmed the token in the child theme.
Thank you.
November 29, 2019 at 10:47 pm #1161380Hi,
Can you share us FTP details please?
Best regards,
BasilisNovember 30, 2019 at 1:09 am #1161417Hi Basilis,
The FTP details were in the private data on the top of this post.
Rikard’s suggestion to add the Envato token to the child theme (see above) has removed the error in the child theme.
Thank you both!Please close this thread.
December 2, 2019 at 6:02 am #1161731 -
AuthorPosts
- The topic ‘enfold/framework/php/auto-updates/class-pixelentity-theme-update.php on line 93’ is closed to new replies.