wyclef
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: WordPress Database MySQL 5.7 > 8Thanks for the info. Wondering if the following makes sense to you? Do I just ignore this?
Zero Date, Datetime, and Timestamp values
Warning: By default zero date/datetime/timestamp values are no longer allowed in MySQL, as of 5.7.8 NO_ZERO_IN_DATE and NO_ZERO_DATE are included in SQL_MODE by default. These modes should be used with strict mode as they will be merged with strict mode in a future release. If you do not include these modes in your SQL_MODE setting, you are able to insert date/datetime/timestamp values that contain zeros. It is strongly advised to replace zero values with valid ones, as they may not work correctly in the future. Link
Level Object Description
Warning wp.wp_comments.comment_date column has zero default value: 0000-00-00 00:00:00
Warning wp.wp_comments.comment_date_gmt column has zero default value: 0000-00-00 00:00:00
Warning wp.wp_links.link_updated column has zero default value: 0000-00-00 00:00:00
Warning wp.wp_posts.post_date column has zero default value: 0000-00-00 00:00:00
Warning wp.wp_posts.post_date_gmt column has zero default value: 0000-00-00 00:00:00
Warning wp.wp_posts.post_modified column has zero default value: 0000-00-00 00:00:00
Warning wp.wp_posts.post_modified_gmt column has zero default value: 0000-00-00 00:00:00
Warning wp.wp_users.user_registered column has zero default value: 0000-00-00 00:00:00Forum: Plugins
In reply to: [Breadcrumb NavXT] An error of type E_ERROR was caused in line 661I checked the server error log and bcn_display_list seems to pop up when the 404 template is triggered. It uses the same line I posted previously however there wouldn’t be breadcrumbs exactly on a 404 page so would the easiest thing I could try would be to just remove it from the 404 page but is there a better way the previous line of code should be written? Also, the site has an SSL certificate but the referer is http, not sure if that is normal or not.
/home/my-user/mydomain/wp-content/themes/mytheme/404.php(6): bcn_display_list(), referer: https://mydomain
- This reply was modified 2 weeks, 6 days ago by wyclef.
Forum: Plugins
In reply to: [Breadcrumb NavXT] An error of type E_ERROR was caused in line 661Is there something I can do to fix this or since it happens intermittently should I just ignore it for now and wait for another plugin update?
Forum: Plugins
In reply to: [Breadcrumb NavXT] An error of type E_ERROR was caused in line 661This is currently how bcn_display() is being called.
<?php if(function_exists('bcn_display')) { bcn_display_list(); } ?>
That has sort of been grandfathered into the site for years. Should this need to be updated?
Forum: Developing with WordPress
In reply to: WordPress Database MySQL 5.7 > 8Ok, I see the collation field options in table operations. I duplicated a DB and tested out changing the collation of everything. It seems fairly harmless. If it seems like my site runs fine and I can login to the dashboard and nothing appears broken is that basically it? Is there even a need to worry about upgrading from MySQL 5.7 to 8 for local development? Should I just leave everything in 5.7 and not sweat it right now?
Forum: Developing with WordPress
In reply to: WordPress Database MySQL 5.7 > 8Most of my configs look as follows. Is this incorrect?
define(‘DB_CHARSET’, ‘utf8’);
define(‘DB_COLLATE’, ”);Also, what would be the best way to go about this, just the phpMyAdmin collation option and some universal switch to utf8mb4_general_ci? Aside from the site breaking, what would I even look for or test for to make sure this didn’t mess things up?
Forum: Plugins
In reply to: [Melapress File Monitor] Plugin has been initialising for a weekHello, in purging all data and re-initiating everything it seems to have successfully completed a scan. I will continue to monitor this and see if this problem is resolved.
[04-Mar-2024 14:15:17 UTC] SCAN STEP 2 – DIRECTORIES SCANNED, START FILE RUNNER
[04-Mar-2024 14:15:17 UTC] SCAN STEP 3 – START FILE RUNNER
[04-Mar-2024 14:15:33 UTC] SCAN STEP 4 – FILE RUN COMPLETED
[04-Mar-2024 14:15:33 UTC] SCAN STEP 5 – INITIAL FILE COMPARISON RUN COMPLETEForum: Plugins
In reply to: [Melapress File Monitor] Plugin has been initialising for a weekHi, I was previously using the WP File Changes Monitor plugin which was set to auto update which is how I ended up with the Melepress plugin. I did go through the wizard again and a scan started but it never seems to finish and always says Initialising – You may navigate away from this page at anytime.
Possible plugins I use which could be interfering are WP Super Cache, WP Cerber, and IP Geo Block. I am not sure if you are familiar with any of these or how best to troubleshoot this.
Forum: Developing with WordPress
In reply to: Undefined array key in 1 with get_the_titleHere is a little more context
<?php $parentVal = get_the_title($post->post_parent); ?> <?php $parentMainVal = get_the_title($post->ancestors[1]) ?> <?php if (is_page('home')) { ?> <body id="home"> <?php } else if (is_page('special') || ($parentVal == 'Special') || ($parentMainVal == 'Special')) { ?> <body id="special"> <?php } else if (is_page('misc') || ($parentVal == 'Miscellaneous') || ($parentMainVal == 'Miscellaneous')) { ?> <body id="misc"> <?php } else { ?> <body> <?php }?>
This is some old custom code I am rummaging through. Let me know if I need to do more digging.
Forum: Developing with WordPress
In reply to: WordPress workflow using version control?i am mainly interested in something for my own personal workflow. I currently use Mamp for my localhost dev but am just sort of primatively archiving theme revisions manually. It works fine but kind of want to feel of modern times here and not some old dinosaur.
Forum: Developing with WordPress
In reply to: WordPress workflow using version control?Not looking to have the theme in wp repository. Coukd be nice to have it hooked up to wp theme updater.
- This reply was modified 1 year, 5 months ago by wyclef.
Forum: Developing with WordPress
In reply to: Assistance with Child Theme PHPThank you! That last link cleared this up and things now work. I had checked their support articles but I guess missed that one unfortunately.
Forum: Developing with WordPress
In reply to: Assistance with Child Theme PHPOk, we are making progress folks! So if I change the parent theme function to get_stylesheet_directory() and move partials/menus.php to the Child Theme directory and my edits to the PHP in the child theme work. Is this the most practical way to proceed with this and just note the edits made to the parent theme or should I take this a step further and try to get it so no changes need to be made to the parent themes function file and if so how?
Forum: Developing with WordPress
In reply to: Assistance with Child Theme PHPHmmm, thanks so much for taking a look. That doesn’t seem to work either. I see in the parent theme there is a call in the functions file to the file I want to edit. Do you think I need to include this in the child theme function.php?
if ($ok_php) { require_once get_template_directory() . '/partials/menus.php'; }
- This reply was modified 1 year, 7 months ago by wyclef.
Forum: Developing with WordPress
In reply to: Assistance with Child Theme PHPI’m using Uncode. I actually tried to copy the file with the directory structure first. I wonder if I just need to copy the file into the root of the child theme instead?