Hi My webhost (Dreamhost) is requiring upgrading to PHP from 7.4 to 8.1. The automatic upgrade from the host failed. I updated wordpress to 6.2.2 but when I tried to update the PHP I got an email from wordpress that said-
WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.In this case, WordPress caught an error with one of your plugins, WooCommerce. WordPress version 6.2.1 Active theme: Proton (version 1.4) Current plugin: WooCommerce (version 3.4.8) PHP version 8.1.17
I updated all the plugins, and tried again but the site stopped working so I reverted to a backup version.
I am very sorry for the late reply, we were not working on the weekend.
The error you encountered is a PHP E_COMPILE_ERROR, indicating a critical error during the compilation of the code. Specifically, the error message points out a problem with the usage of the ternary operator (? :) in line 644 of the file /home/phtpht/phtpht.com/wp-content/plugins/js-composer/include/classes/editors/class-vc-frontend-editor.php.
The error message suggests that the usage of the ternary operator is ambiguous due to a lack of parentheses. It recommends using either (a ? b : c) ? d : e or a ? b : (c ? d : e) to clarify the desired order of operations.
To resolve the issue, you should locate line 644 in the mentioned file and modify the code to include parentheses around the ternary operators according to one of the recommended patterns.
Here's an example of how the modified code might look using the first recommended pattern:
// Original code:
$variable = a ? b : c ? d : e;
// Modified code with added parentheses:
$variable = (a ? b : c) ? d : e;
thanks, although this is honestly not particularly helpful. I don't have any idea how to do any of what you mentioned below, so I also do not understand how this could be an issue? How did this error arrive? Also- the site is still not working right- the WP Bakery plug in will not update and its making it so I can't actually update any of my pages- meaning that my site is still not working since none of the images show up.
also- wordpress says the issue is with a plug-in, namely WP Bakery- this is also from the wordpress email-
"WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email. In this case, WordPress caught an error with one of your plugins, WPBakery Page Builder.
Hi can you all address these issues ASAP please? I really need my site to be back working and for the images to return/be able to edit and add new images, to recap: -tried to upgrade php- not working with Dreamhost -updated Proton and plugins (except could not update WPBakery)- images from portfolio items disappeared and could only access WP editor- not able to add new images to portfolio items. -got link to update WPBakery- uploaded that but getting "fatal error" message when i try to activate. -still can't edit site, portfolio images are still missing and php cannot be upgraded. thanks
Your PHP code changes were rolled back due to an error on line 215 of file wp-content/themes/proton/vc_templates/proton_portfolio.php. Please fix and try saving again.
We're about to release an update of the Proton theme today (Wednesday) and it will fix these issues, I'll let you know about anything, I'll contact you via the support system, or you can also send me any email address and as soon as the update is out I'll reach you.
Hey Neuron I don't see an email from you or other info that Proton has an update that was supposed to happen last Wednesday. Can you make this happen ASAP? Its been 3 weeks that my website has been broken because of issues with the theme. Not acceptable. Let me know what is happening. Peter
We sincerely apologize for the delay in releasing the update. We understand your frustration and appreciate your patience. We have been working diligently to ensure that the update meets the highest quality standards.
To make up for the delay, we have attached the latest version of the Proton theme (version 1.4.9) to this email. You can update the theme by following these steps:
Select the zip file of the theme that we have attached.
Once uploaded, activate the updated Proton theme.
We apologize again for any inconvenience caused by the delay, and we appreciate your understanding. If you encounter any issues during the update process or have further questions, please don't hesitate to reach out to us. We're here to assist you.
I just updated, according to your instructions, and while my website is back up, it looks nothing like it did before. The entire website was premised on a graphic of an axis that is no longer there. All of the axis elements are gone, and have been replaced with text. Can you please help me get my website back to what it was before.
Here is the website after your update: criticalaxis.org
I also followed the instructions- my website is still broken - the home page looks fine as it always has but if you click on a portfolio item- all of the images are gone. -I tried to activate the new version of WPBakery and it returns a fatal error-
Fatal error: Cannot declare class Vc_Manager, because the name is already in use in /home/phtpht/phtpht.com/wp-content/plugins/js_composer/include/classes/core/class-vc-manager.php on line 14 -when I try to edit a portfolio item- still no way to add images. This does not appear to have fixed anything- a while back I shared a login for my site- please check it out.
We released an update of the theme yesterday that finally will resolve this issue, so please first delete the WPBakery Page Builder plugin, then update the theme and install the plugin again by going to Dashboard > Appearance > Install Plugins, the issue is solved now.
Proton Theme Version 1.4.9
You can update the theme directly on your dashboard, via the plugin below:
I did what you said, and now the content from my website is missing. I tried to re-install and re-activate the WPBakery Page Builder and it didn't change anything. Can someone please help?
I followed the instructions as well (I had already updated to 1.4.9 and still photos that were on each portfolio item are gone, cannot edit and add photos to items and now home page image sizing has also gone funky.
I am very sorry for the late reply, we were not working on the weekend.
@phaakon, I've just fixed the issue in your site, I had to delete the ACF plugins and install them again by going to the Dashboard > Appearance > Install Plugins, and now the images are back on the portfolio item.
@Liz, can you please create a new ticket, or reach us at [email protected], so we can log into your site and check the issue?
Can someone please reply to my emails. My website is not fixed, you keep saying you're losing my email in your spam box. This is going on way too long.
I am very sorry for the late reply, we were not working on the weekend.
The issue on your site was with the permalinks, so I've just set them to "Post name" by going to Dashboard > Settings > Permalinks, and now everything is alright.
This is SO upsetting. Why isn't the axis on the front page?? The whole website still looks nothing like it did before. Why won't someone take the time to actually help? This has been going on forever!
I'm sorry, I don't know the answer to this, I'm not a dev. I provided you my login and links to the internet archive. I just want to get it back to the way it was before.
I would be happy to open a new ticket, but I don't know how to find my purchase code. A developer built the website, but the team has changed, I don't know anyone there now. Have you checked the Internet Archive link I have sent you multiple times now, so you can see the axis? Here's the link again:
Can you help me open a ticket and can you help me fix my broken website so it's just like it was before? Or just help me fix my broken website without going through the rigamarole of opening a new ticket?
Sorry for the late reply, the ticket was marked as solved.
I've checked the archive several times, and it seems that you have created the hero section by customizing the theme files, I can see in the archive that there is a file added named "matrix.css", have you added it yourself or via a developer, because we need to know if he added it manually or via a plugin.
Any information you can provide would be really helpful, I'll try to send you an email so we can be in contact faster.
Hi
My webhost (Dreamhost) is requiring upgrading to PHP from 7.4 to 8.1. The automatic upgrade from the host failed. I updated wordpress to 6.2.2 but when I tried to update the PHP I got an email from wordpress that said-
WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.In this case, WordPress caught an error with one of your plugins, WooCommerce.
WordPress version 6.2.1
Active theme: Proton (version 1.4)
Current plugin: WooCommerce (version 3.4.8)
PHP version 8.1.17
I updated all the plugins, and tried again but the site stopped working so I reverted to a backup version.
Please advise!
thanks
Peter
Hi,
Please make sure that you're running the latest version of the Proton theme.
You can update the theme directly on your dashboard, via the plugin below:
- https://envato.com/market-plugin/
Feel free to ask for anything you need.
Kind Regards
Hi,
I am very sorry for the late reply, we were not working on the weekend.
The error you encountered is a PHP E_COMPILE_ERROR, indicating a critical error during the compilation of the code. Specifically, the error message points out a problem with the usage of the ternary operator (? :) in line 644 of the file /home/phtpht/phtpht.com/wp-content/plugins/js-composer/include/classes/editors/class-vc-frontend-editor.php.
The error message suggests that the usage of the ternary operator is ambiguous due to a lack of parentheses. It recommends using either (a ? b : c) ? d : e or a ? b : (c ? d : e) to clarify the desired order of operations.
To resolve the issue, you should locate line 644 in the mentioned file and modify the code to include parentheses around the ternary operators according to one of the recommended patterns.
Here's an example of how the modified code might look using the first recommended pattern:
Feel free to ask for anything you need.
Kind Regards
thanks, although this is honestly not particularly helpful. I don't have any idea how to do any of what you mentioned below, so I also do not understand how this could be an issue? How did this error arrive?
Also- the site is still not working right- the WP Bakery plug in will not update and its making it so I can't actually update any of my pages- meaning that my site is still not working since none of the images show up.
also- wordpress says the issue is with a plug-in, namely WP Bakery- this is also from the wordpress email-
"WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
In this case, WordPress caught an error with one of your plugins, WPBakery Page Builder.
First, visit your website (https://www.phtpht.com/) and check for any visible issues. Next, visit the page where the error was caught (https://www.phtpht.com/wp-admin/admin-ajax.php) and check for any visible issues."
Hi,
I've attached the latest version of the WPBakery Page Builder plugin, please update it.
- https://we.tl/t-SJoPG6qgfF
Feel free to ask for anything you need.
Kind Regards
hi
I installed the new version of WP Bakery and got this fatal error message when I tried to activate it.
Please advise.
Hi
can you all address these issues ASAP please? I really need my site to be back working and for the images to return/be able to edit and add new images, to recap:
-tried to upgrade php- not working with Dreamhost
-updated Proton and plugins (except could not update WPBakery)- images from portfolio items disappeared and could only access WP editor- not able to add new images to portfolio items.
-got link to update WPBakery- uploaded that but getting "fatal error" message when i try to activate.
-still can't edit site, portfolio images are still missing and php cannot be upgraded.
thanks
Hi Neuron and phaakon. I am having the same problem. We tried to update the WPBakery Plugin code, by turning it into a function, by following the guidance on this post: https://stackoverflow.com/questions/74222200/fatal-error-unparenthesized-a-b-c-d-e-is-not-supported
Now the error reads:
Your PHP code changes were rolled back due to an error on line 215 of file wp-content/themes/proton/vc_templates/proton_portfolio.php. Please fix and try saving again.
If you're curious, my website is criticalaxis.org - and you can see, it's not working. Can you help? Thank you!
Liz
Hi to all,
We're about to release an update of the Proton theme today (Wednesday) and it will fix these issues, I'll let you know about anything, I'll contact you via the support system, or you can also send me any email address and as soon as the update is out I'll reach you.
Feel free to ask for anything you need.
Kind Regards
Hey Neuron
I don't see an email from you or other info that Proton has an update that was supposed to happen last Wednesday. Can you make this happen ASAP? Its been 3 weeks that my website has been broken because of issues with the theme. Not acceptable.
Let me know what is happening.
Peter
sheesh you guys
what is happening? We are almost to a week since you said there would be an update- can you at least let us know what is going on?
Hi,
We sincerely apologize for the delay in releasing the update. We understand your frustration and appreciate your patience. We have been working diligently to ensure that the update meets the highest quality standards.
To make up for the delay, we have attached the latest version of the Proton theme (version 1.4.9) to this email. You can update the theme by following these steps:
- https://we.tl/t-qszdhLXwIK
We apologize again for any inconvenience caused by the delay, and we appreciate your understanding. If you encounter any issues during the update process or have further questions, please don't hesitate to reach out to us. We're here to assist you.
Feel free to ask for anything you need.
Kind Regards
Hi Neuron,
I just updated, according to your instructions, and while my website is back up, it looks nothing like it did before. The entire website was premised on a graphic of an axis that is no longer there. All of the axis elements are gone, and have been replaced with text. Can you please help me get my website back to what it was before.
Here is the website after your update: criticalaxis.org
Here is what it was like before your update: https://web.archive.org/web/20230204185937/http://www.criticalaxis.org/
I also followed the instructions- my website is still broken
- the home page looks fine as it always has but if you click on a portfolio item- all of the images are gone.
-I tried to activate the new version of WPBakery and it returns a fatal error-
Fatal error: Cannot declare class Vc_Manager, because the name is already in use in /home/phtpht/phtpht.com/wp-content/plugins/js_composer/include/classes/core/class-vc-manager.php on line 14
-when I try to edit a portfolio item- still no way to add images.
This does not appear to have fixed anything- a while back I shared a login for my site- please check it out.
Peter
hey
can you address these issues ASAP? This is totally unacceptable- there is not point for me to use a theme that does not work.
Hi,
We released an update of the theme yesterday that finally will resolve this issue, so please first delete the WPBakery Page Builder plugin, then update the theme and install the plugin again by going to Dashboard > Appearance > Install Plugins, the issue is solved now.
You can update the theme directly on your dashboard, via the plugin below:
- https://envato.com/market-plugin/
Feel free to ask for anything you need.
Kind Regards
I did what you said, and now the content from my website is missing. I tried to re-install and re-activate the WPBakery Page Builder and it didn't change anything. Can someone please help?
Hi Liz,
Can you please attach an URL of your site so we can view it?
Feel free to ask for anything you need.
Kind Regards
Of course. it's criticalaxis.org
I followed the instructions as well (I had already updated to 1.4.9 and still photos that were on each portfolio item are gone, cannot edit and add photos to items and now home page image sizing has also gone funky.
my site is phtpht.com
please fix this
Hi,
I am very sorry for the late reply, we were not working on the weekend.
@phaakon, I've just fixed the issue in your site, I had to delete the ACF plugins and install them again by going to the Dashboard > Appearance > Install Plugins, and now the images are back on the portfolio item.
@Liz, can you please create a new ticket, or reach us at [email protected], so we can log into your site and check the issue?
Feel free to ask for anything you need.
Kind Regards
Thank you- its all working now and I was also able to upgrade to Dreamhost's higher PHP requirement.
You are welcome anytime, feel free to ask for anything you need
If you like our theme, please leave us a rate of 5 stars at ThemeForest, that would help us a lot.
Kind Regards,
NeuronThemes
Can someone please reply to my emails. My website is not fixed, you keep saying you're losing my email in your spam box. This is going on way too long.
Hi Liz,
I am very sorry for the late reply, we were not working on the weekend.
The issue on your site was with the permalinks, so I've just set them to "Post name" by going to Dashboard > Settings > Permalinks, and now everything is alright.
Feel free to ask for anything you need.
Kind Regards
This is SO upsetting. Why isn't the axis on the front page?? The whole website still looks nothing like it did before. Why won't someone take the time to actually help? This has been going on forever!
Hi Liz,
Can you please let me know how you created that section, please look at the attached screenshot to see how it is in the editor.
- https://prnt.sc/T15-hBU4kXEO
Feel free to ask for anything you need.
Kind Regards
I'm sorry, I don't know the answer to this, I'm not a dev. I provided you my login and links to the internet archive. I just want to get it back to the way it was before.
Hi Liz,
I am very sorry for the late reply, we were not working on the weekend.
We've just checked your site once again, and the content-built part of the homepage in the editor seems not to have any additional widgets/elements.
- https://prnt.sc/IPoegaRIzxNu
Have you used any plugins to create that hero section on the homepage or anything else, so we can help you to bring it back?
Also, It would be better if you could create a new ticket, as this ticket was created by @phaakon, and his issue has been solved.
Feel free to ask for anything you need.
Kind Regards
I would be happy to open a new ticket, but I don't know how to find my purchase code. A developer built the website, but the team has changed, I don't know anyone there now. Have you checked the Internet Archive link I have sent you multiple times now, so you can see the axis? Here's the link again:
https://web.archive.org/web/20230204185937/http://www.criticalaxis.org/
Can you help me open a ticket and can you help me fix my broken website so it's just like it was before? Or just help me fix my broken website without going through the rigamarole of opening a new ticket?
Following up. Can someone please help?
Following up. Can someone please help?
Hi Liz,
Sorry for the late reply, the ticket was marked as solved.
I've checked the archive several times, and it seems that you have created the hero section by customizing the theme files, I can see in the archive that there is a file added named "matrix.css", have you added it yourself or via a developer, because we need to know if he added it manually or via a plugin.
Any information you can provide would be really helpful, I'll try to send you an email so we can be in contact faster.
Feel free to ask for anything you need.
Kind Regards