I use this plugin on about 15 to 18 sites, and it is able to edit/publish/delete rules on some sites, but on others I keep getting this error: “Oops!! Something went wrong” when I toggle the slider to enable or disable the rule, and also when I try to save any changes by clicking the save button. I’ve checked that the settings are the same for the sites that the plugin does not work on as opposed to the sites that it does work on, and most are, but I can’t save any new settings if I see a difference. I’ve tried clearing my browser cache, clearing the sites cache, all the plugins being used are the same on the sites where the Discount Rules plugin works versus the ones that it doesn’t.
I do know that all of these sites are cloned sites (and since I run so many, the original site I clone from may vary, since some settings are set on some sites that I need for other sites). Not really sure what’s going on here, the server time is set up correctly also.
After I click ‘Update’, a little black box will appear as usual in the left bottom corner saying ‘Page updated. View page’, but in the menu bar on the top of the page, the cloud symbol still says ‘Saving’.
I’ve tried leaving it for more than 1 hr but nothing changes, and the only option I have is to reload the page or to return to the main menu, and then all changes are lost.
This only happens to the homepage, not for the other pages which are saving changes as usual.
There is no error message although I suspect it may have something to do with a site health issue which is flagged as critical: ‘Background updates are not working as expected.’
Below that it lists:
Error Some files are not writable by WordPress:
xmlrpc.php
wp-blog-header.php
readme.html
wp-signup.php
index.php
wp-cron.php
wp-config-sample.php
wp-login.php
wp-settings.php
license.txt
wp-mail.php
wp-links-opml.php
wp-load.php
wp-includes/class-wp-user-query.php
wp-includes/l10n.php
wp-includes/date.php
wp-includes/class-wp-oembed.php
wp-includes/images/w-logo-blue-white-bg.png
wp-includes/images/blank.gif
wp-includes/images/down_arrow.gif
Many thanks for your help and suggestions!
]]>URGENT HELP NEEDED!!!!!
I am having major issues editing my website. The page is https://hnba.com/career-center/
I cannot use the edit page pencil to make edits. When I try to do so I get a 504 error:
Gateway Timeout
The gateway did not receive a timely response from the upstream server or application.
I can use the visual builder but my usage is limited. I also get an error when I try to save in visual builder:
Your Save Has Failed
An error has occurred while saving your page. Various problems can cause a save to fail, such as a lack of server resources, firewall blockages, plugin conflicts or server misconfiguration. You can try saving again by clicking Try Again, or you can download a backup of your unsaved page by clicking Download Backup. Backups can be restored using the portability system while next editing your page.
Contacting your host and asking them to increase the following PHP variables may help: memory_limit, max_execution_time, upload_max_filesize, post_max_size, max_input_time, max_input_vars. In addition, auditing your firewall error log (such as ModSecurity) may reveal false positives that are preventing saves from completing.
What has now happened is all the links on the page are replaced with one link I tried to edit.
I have tried disabling all plugins and that did not help. Also I sometimes cannot even access the admin site and get the same 504 error.
Please help!!!
]]>The plugin works perfectly, but last week if i want to do any changes, the grid settings will not save. Tried to deactivate it and several other plugins and see if there was a conflict, still didnt want to save.
Did not want to uninstall the plugin in case it wont install and be usable anyomore. Have set it up as i want it to work now.
Video of trying to save grid settings:
https://drive.google.com/open?id=1jnc-N3qtVELtNCSu6UMkJqnj603Rth3j
I will be happy to donate to fix the problem. Complimentary fix would be nice as well. Either way.. please help!
Thank you
]]>Any idea what is happening here?
https://www.ads-software.com/plugins/custom-stock-widget/
]]>Below is my code:
<?php
/*
Plugin Name: THE SHISH SCHEDULE
Plugin URI: https://www.peterartmont.com/thebigshish
Description: This widget will let you update where you will be for the week and where u will be in the afternoon and evening.
Version: The Plugin's Version Number, e.g.: 1.0
Author: Peter Artmont
Author URI: https://wwww.peterartmont.com
License: THE SHISH SCHEDULE
*/
add_action( 'admin_menu', 'my_admin_menu' );
function my_admin_menu() {
add_menu_page( '7 Day Schedule', '7 Day Schedule', 'manage_options', 'shish7dayplugin', 'schedule_page', '/THEBIGSHISH/blog/wp-content/plugins/BigShish7DaySchedule/Calendar-icon.png', '3' );
}
add_action( 'admin_init', 'my_admin_init' );
function my_admin_init() {
register_setting( '7dayschedule-group', '7dayschedule-settings' );
add_settings_section( 'monday', 'Monday', 'monday_callback', 'shish7dayplugin' );
add_settings_field( 'field-one', 'Monday Afternoon Time', 'field_one_callback', 'shish7dayplugin', 'monday' );
add_settings_field( 'field-two', 'Monday Afternoon Location', 'field_two_callback', 'shish7dayplugin', 'monday' );
add_settings_field( 'field-three', 'Monday Evening Time', 'field_three_callback', 'shish7dayplugin', 'monday' );
add_settings_field( 'field-four', 'Monday Evening Location', 'field_four_callback', 'shish7dayplugin', 'monday' );
add_settings_section( 'tuesday', 'Tuesday', 'tuesday_callback', 'shish7dayplugin' );
add_settings_field( 'tuesday_field-one', 'Tuesday Afternoon Time', 'tuesday_field_one_callback', 'shish7dayplugin', 'tuesday' );
add_settings_field( 'tuesday_field-two', 'Tuesday Afternoon Location', 'tuesday_field_two_callback', 'shish7dayplugin', 'tuesday' );
add_settings_field( 'tuesday_field-three', 'Tuesday Evening Time', 'tuesday_field_three_callback', 'shish7dayplugin', 'tuesday' );
add_settings_field( 'tuesday_field-four', 'Tuesday Evening Location', 'tuesday_field_four_callback', 'shish7dayplugin', 'tuesday' );
add_settings_section( 'wednesday', 'Wednesday', 'wednesday_callback', 'shish7dayplugin' );
add_settings_field( 'wednesday_field-one', 'Wednesday Afternoon Time', 'wednesday_field_one_callback', 'shish7dayplugin', 'wednesday' );
add_settings_field( 'wednesday_field-two', 'Wednesday Afternoon Location', 'wednesday_field_two_callback', 'shish7dayplugin', 'wednesday' );
add_settings_field( 'wednesday_field-three', 'Wednesday Evening Time', 'wednesday_field_three_callback', 'shish7dayplugin', 'wednesday' );
add_settings_field( 'wednesday_field-four', 'Wednesday Evening Location', 'wednesday_field_four_callback', 'shish7dayplugin', 'wednesday' );
add_settings_section( 'thursday', 'Thursday', 'wednesday_callback', 'shish7dayplugin' );
add_settings_field( 'thursday_field-one', 'Thursday Afternoon Time', 'thursday_field_one_callback', 'shish7dayplugin', 'thursday' );
add_settings_field( 'thursday_field-two', 'Thursday Afternoon Location', 'thursday_field_two_callback', 'shish7dayplugin', 'thursday' );
add_settings_field( 'thursday_field-three', 'Thursday Evening Time', 'thursday_field_three_callback', 'shish7dayplugin', 'thursday' );
add_settings_field( 'thursday_field-four', 'Thursday Evening Location', 'thursday_field_four_callback', 'shish7dayplugin', 'thursday' );
add_settings_section( 'friday', 'Friday', 'friday_callback', 'shish7dayplugin' );
add_settings_field( 'friday_field-one', 'Friday Afternoon Time', 'friday_field_one_callback', 'shish7dayplugin', 'friday' );
add_settings_field( 'friday_field-two', 'Friday Afternoon Location', 'friday_field_two_callback', 'shish7dayplugin', 'friday' );
add_settings_field( 'friday_field-three', 'Friday Evening Time', 'friday_field_three_callback', 'shish7dayplugin', 'friday' );
add_settings_field( 'friday_field-four', 'Friday Evening Location', 'friday_field_four_callback', 'shish7dayplugin', 'friday' );
add_settings_section( 'saturday', 'Saturday', 'saturday_callback', 'shish7dayplugin' );
add_settings_field( 'saturday_field-one', 'Saturday Afternoon Time', 'saturday_field_one_callback', 'shish7dayplugin', 'saturday' );
add_settings_field( 'saturday_field-two', 'Saturday Afternoon Location', 'saturday_field_two_callback', 'shish7dayplugin', 'saturday' );
add_settings_field( 'saturday_field-three', 'Saturday Evening Time', 'saturday_field_three_callback', 'shish7dayplugin', 'saturday' );
add_settings_field( 'saturday_field-four', 'Saturday Evening Location', 'saturday_field_four_callback', 'shish7dayplugin', 'saturday' );
add_settings_section( 'sunday', 'Sunday', 'sunday_callback', 'shish7dayplugin' );
add_settings_field( 'sunday_field-one', 'Sunday Afternoon Time', 'sunday_field_one_callback', 'shish7dayplugin', 'sunday' );
add_settings_field( 'sunday_field-two', 'Sunday Afternoon Location', 'sunday_field_two_callback', 'shish7dayplugin', 'sunday' );
add_settings_field( 'sunday_field-three', 'Sunday Evening Time', 'sunday_field_three_callback', 'shish7dayplugin', 'sunday' );
add_settings_field( 'sunday_field-four', 'Sunday Evening Location', 'sunday_field_four_callback', 'shish7dayplugin', 'sunday' );
}
function monday_callback() {
echo 'This is where Your times for Monday go.';
}
function tuesday_callback() {
echo 'This is where Your times for Tuesday go.';
}
function wednesday_callback() {
echo 'This is where Your times for Wednesday go.';
}
function thursday_callback() {
echo 'This is where Your times for Thursday go.';
}
function friday_callback() {
echo 'This is where Your times for Thursday go.';
}
function saturday_callback() {
echo 'This is where Your times for Thursday go.';
}
function sunday_callback() {
echo 'This is where Your times for Thursday go.';
}
function field_one_callback() {
$setting = esc_attr( get_option( '7dayschedule-settings' ) );
echo "<input type='text' name='my-setting' value='$setting' />";
}
function field_two_callback() {
$setting = esc_attr( get_option( '7dayschedule-settings' ) );
echo "<input type='text' name='my-setting' value='$setting' />";
}
function field_three_callback() {
$setting = esc_attr( get_option( '7dayschedule-settings' ) );
echo "<input type='text' name='my-setting' value='$setting' />";
}
function field_four_callback() {
$setting = esc_attr( get_option( '7dayschedule-settings' ) );
echo "<input type='text' name='my-setting' value='$setting' />";
}
function tuesday_field_one_callback() {
$setting = esc_attr( get_option( '7dayschedule-settings' ) );
echo "<input type='text' name='my-setting' value='$setting' />";
}
function tuesday_field_two_callback() {
$setting = esc_attr( get_option( '7dayschedule-settings' ) );
echo "<input type='text' name='my-setting' value='$setting' />";
}
function tuesday_field_three_callback() {
$setting = esc_attr( get_option( '7dayschedule-settings' ) );
echo "<input type='text' name='my-setting' value='$setting' />";
}
function tuesday_field_four_callback() {
$setting = esc_attr( get_option( '7dayschedule-settings' ) );
echo "<input type='text' name='my-setting' value='$setting' />";
}
function wednesday_field_one_callback() {
$setting = esc_attr( get_option( '7dayschedule-settings' ) );
echo "<input type='text' name='my-setting' value='$setting' />";
}
function wednesday_field_two_callback() {
$setting = esc_attr( get_option( '7dayschedule-settings' ) );
echo "<input type='text' name='my-setting' value='$setting' />";
}
function wednesday_field_three_callback() {
$setting = esc_attr( get_option( '7dayschedule-settings' ) );
echo "<input type='text' name='my-setting' value='$setting' />";
}
function wednesday_field_four_callback() {
$setting = esc_attr( get_option( '7dayschedule-settings' ) );
echo "<input type='text' name='my-setting' value='$setting' />";
}
function thursday_field_one_callback() {
$setting = esc_attr( get_option( '7dayschedule-settings' ) );
echo "<input type='text' name='my-setting' value='$setting' />";
}
function thursday_field_two_callback() {
$setting = esc_attr( get_option( '7dayschedule-settings' ) );
echo "<input type='text' name='my-setting' value='$setting' />";
}
function thursday_field_three_callback() {
$setting = esc_attr( get_option( '7dayschedule-settings' ) );
echo "<input type='text' name='my-setting' value='$setting' />";
}
function thursday_field_four_callback() {
$setting = esc_attr( get_option( '7dayschedule-settings' ) );
echo "<input type='text' name='my-setting' value='$setting' />";
}
function friday_field_one_callback() {
$setting = esc_attr( get_option( '7dayschedule-settings' ) );
echo "<input type='text' name='my-setting' value='$setting' />";
}
function friday_field_two_callback() {
$setting = esc_attr( get_option( '7dayschedule-settings' ) );
echo "<input type='text' name='my-setting' value='$setting' />";
}
function friday_field_three_callback() {
$setting = esc_attr( get_option( '7dayschedule-settings' ) );
echo "<input type='text' name='my-setting' value='$setting' />";
}
function friday_field_four_callback() {
$setting = esc_attr( get_option( '7dayschedule-settings' ) );
echo "<input type='text' name='my-setting' value='$setting' />";
}
function saturday_field_one_callback() {
$setting = esc_attr( get_option( '7dayschedule-settings' ) );
echo "<input type='text' name='my-setting' value='$setting' />";
}
function saturday_field_two_callback() {
$setting = esc_attr( get_option( '7dayschedule-settings' ) );
echo "<input type='text' name='my-setting' value='$setting' />";
}
function saturday_field_three_callback() {
$setting = esc_attr( get_option( '7dayschedule-settings' ) );
echo "<input type='text' name='my-setting' value='$setting' />";
}
function saturday_field_four_callback() {
$setting = esc_attr( get_option( '7dayschedule-settings' ) );
echo "<input type='text' name='my-setting' value='$setting' />";
}
function sunday_field_one_callback() {
$setting = esc_attr( get_option( '7dayschedule-settings' ) );
echo "<input type='text' name='my-setting' value='$setting' />";
}
function sunday_field_two_callback() {
$setting = esc_attr( get_option( '7dayschedule-settings' ) );
echo "<input type='text' name='my-setting' value='$setting' />";
}
function sunday_field_three_callback() {
$setting = esc_attr( get_option( '7dayschedule-settings' ) );
echo "<input type='text' name='my-setting' value='$setting' />";
}
function sunday_field_four_callback() {
$setting = esc_attr( get_option( '7dayschedule-settings' ) );
echo "<input type='text' name='my-setting' value='$setting' />";
}
function schedule_page() {
?>
<div class="wrap">
<h2>7 Day Schedule</h2>
<form action="options.php" method="POST">
<?php settings_fields( '7dayschedule-group' ); ?>
<?php do_settings_sections( 'shish7dayplugin' ); ?>
<?php submit_button('Save 7 Day Schedule','primary'); ?>
</form>
</div>
<?php
[Please not that backticks and single quotes are not the same thing]
finally i was hoping to be able to access the information they enter into the settings fields and i would be able to input that into a custom css calendar page i make them.
any pointers on how to go about this. I am very beginner to wordpress codex.