WebsThatRock
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WP CLI Parse ErrorProblem got solved. It turned out the CLI PHP version was 7.3. I contacted the host and they changed it to 7.4 and with a special CLI command to update to force it to 7.4 it worked. I found out online that since WooCommerce 8.6 this error is caused if the CLI is less than 7.3 even if the website itself is 7.4 or higher.
Forum: Plugins
In reply to: [WooCommerce] Transients preventing CLI uploadProblem got solved. It turned out the CLI PHP version was 7.3. I contacted the host and they changed it to 7.4 and with a special CLI command to update to force it to 7.4 it worked. I found out online that since WooCommerce 8.6 this error is caused if the CLI is less than 7.3 even if the website itself is 7.4 or higher.
Forum: Fixing WordPress
In reply to: WP CLI Parse ErrorHi, I tried that and that didn’t work. I did however set up a testing blank WordPress with the bare minimal and the error still shows up there as well.
Forum: Fixing WordPress
In reply to: WP CLI Parse ErrorThank you, I will try there. In the meantime I’m trying to delete all of the transients to see if that will solve the problem.
Forum: Fixing WordPress
In reply to: WP CLI Parse ErrorI just used the plugins to delete the transients but when I try another import the same errors pop up.
Forum: Fixing WordPress
In reply to: WP CLI Parse ErrorThank you, I’ve been doing some testing and came up with some answers. I restored the database and files from March 1st and the import worked fine BUT when I clicked on “unsuspend transients” from the plugin Transients Manager from https://www.wpbeginner.com/ the errors popped up and I cannot import via CLI. What can be done to clean up the transients on the website?
Forum: Plugins
In reply to: [WooCommerce] WP CLI / Syntax errors in source codeJust did. Thank you.
Forum: Plugins
In reply to: [WooCommerce] WP CLI / Syntax errors in source codeI just had the host upgrade the PHP to 7.4 for the CLI and it received the same error.
Forum: Plugins
In reply to: [WooCommerce] WP CLI / Syntax errors in source codeHello, using CLI PHP version PHP 7.3.33 and WooCommerce version 8.22 and tested again on version 8.6.1 when trying to run the CLI I get these error messages. Is this a bug that needs to be reported? Do I need CLI to use version PHP 7.4?
Michael
When testing with WooCommerce 8.22 I get this error.
Parse error: syntax error, unexpected ‘?’, expecting function (T_FUNCTION) or const (T_CONST) in /home/mtgshopp/public_html/wp-content/plugins/wp-all-import-pro/addon-api/classes/helpers.php on line 241
Error: There has been a critical error on this website.Learn more about troubleshooting WordPress. There has been a critical error on this website.
[mtgshopp@cloud-9dc319 pubWhen testing with WooCommerce 8.6.1 I get this error.
arning: class_implements(): Class Automattic\WooCommerce\Internal\TransientFiles\TransientFilesEngine does not exist and could not be loaded in /home/mtgshopp/public_html/wp-content/plugins/woocommerce/src/Internal/DependencyManagement/ServiceProviders/AbstractInterfaceServiceProvider.php on line 34
Parse error: syntax error, unexpected ‘LegacyProxy’ (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /home/mtgshopp/public_html/wp-content/plugins/woocommerce/src/Internal/TransientFiles/TransientFilesEngine.php on line 48
Error: There has been a critical error on this website.Learn more about troubleshooting WordPress. There has been a critical error on this website.Yes, it was with another plugin called Supra CSV that was causing the problem. It was providing a description and I also was using Views and Types to provide a description. I solved the problem by leaving the field blank on one plugin.
Forum: Plugins
In reply to: [Supra CSV] Can the default description be turned off?I have version 2.8 right now and see that I can update to 2.8.5. Anyway, I found a work around solution to this. I redid the csv file for description to be blank, created the preset to blank, reuploaded and ingested everything. Still no definition showing up but under View>Settings where the definition is supposed to show up it still was there so I deactivated it, saved it, reactivated it, saved it then the definitions came online.
I tried deactivating the views plugin and keeping the types plugin activated then viewed the page where a trail is on at https://www.alabama.ustrails.net/archives/trail/alabama-scenic-river-trail-11 and it loads up with the shortcodes. I went to this page directly because I couldn’t go through the navigation to get to it with this plugin disabled.
I then tried deactivating the types plugin and keeping the views plugin activated then viewed the page where a trail is on at https://www.alabama.ustrails.net/archives/6912/alabama-scenic-river-trail-2 and it redirects me to a page not found error. (I had to go to this page by going to Trail List>Alabama Scenic River Trail.)
The website that is enacted with the Types plugin is https://alabama.ustrails.net. Like I mentioned the Types plugin has been deactivated. When trying to load the trails page seems to load forever then finally stops with a 500 internal server error. I have Types version 1.0.4 and Views version 1.1.2.
Forum: Fixing WordPress
In reply to: invalid post typeproblem ingestingI can’t figure this out. I started with delaware.ustrails.net and created all of the Types and Views (from the Types and Views plugins) and ingested with Supra and it worked perfectly.
I went to alabama.ustrails.net and imported the Types and Views and they are the exact same ones and ingested with Supra the trails for Alabama and came up with the above error. I tried ingesting Delaware trails into Alabama and that didn’t work either. However I tried to ingest Alabama trails into Delaware and it worked with a glitch.
I’m at a loss. I tried ingesting the Delaware trails back into Delaware again and it worked perfectly. The next thing to try is to delete the Types and Views in Alabama then upload and ingest the file for testing but I would hate to go through hours of work to not have it work. When comparing the Types and Views between Delaware and Alabama they are exactly the same. The databases are the same just with different info in the cells.
Forum: Plugins
In reply to: [Supra CSV] [Plugin: Supra CSV] Possible error found in codeI just had the port opened and I was able to injest the file fine this time.