filatdav
Forum Replies Created
-
In case you didn’t manage to fix this issue or somebody else is looking into it, here is how I fixes it:
In plugin files find class/youtube-import.php and if you have the latest version 15.1.6, on line 302 you shall see a comment line: “//if this video is private skip it”
Below this line, add the following code:if ($this->item->status->privacyStatus == 'private') { continue; }
Here is a git patch file you can apply to the plugin (first you will have to initialize a git repository in the plugin’s folder in your WordPress installation):
https://gist.github.com/davidfilat/dbf8803f24907e66f08fb3c94ac9f3e4Forum: Fixing WordPress
In reply to: 500 server error after migrating to CentOS 7 –only homepageNotice: wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /var/www/html/wp-includes/functions.php on line 3897
Notice: wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /var/www/html/wp-includes/functions.php on line 3897
Notice: Undefined index: name in /var/www/html/wp-includes/class-wp-roles.php on line 128
Notice: Undefined index: name in /var/www/html/wp-includes/class-wp-roles.php on line 128
Notice: Metoda constructor apelat? pentru WP_Widget ?n tp_disqusrecentcomments este ?nvechit? de la versiunea 4.3.0! Folose?te ?n schimb
__construct()
. in /var/www/html/wp-includes/functions.php on line 3718Parse error: syntax error, unexpected end of file in /var/www/html/wp-content/themes/moldovacrestina/header.php on line 111
Forum: Fixing WordPress
In reply to: 500 server error after migrating to CentOS 7 –only homepageSorry for the delayed answer, but I messed the server really bad and I had to reinstall the OS on it and I reinstalled Ubuntu on it, but the problem persists.
I’ve checked the PHP version and it is 7.0. Yet I turned on WP DEBUG and it shows a plenty of errors on the homepage! You can check the new installation at:
104.155.101.60 moldovacrestina.md
I beg your pardon once again and I’ve to thank you for your help! Hope we can figure out how to fix it!
Forum: Fixing WordPress
In reply to: 500 server error after migrating to CentOS 7 –only homepageIt seems that while I reinstalled php, it made some changes to the log files. But when I run the ‘php -v’ command, it confirms that PHP 7.0.7 is installed on the machine!
Forum: Fixing WordPress
In reply to: 500 server error after migrating to CentOS 7 –only homepageI figured it out and now the php module is working fine, but the theme is not working anyway…
Forum: Fixing WordPress
In reply to: 500 server error after migrating to CentOS 7 –only homepageBut it seems php is not working at all now!
Forum: Fixing WordPress
In reply to: 500 server error after migrating to CentOS 7 –only homepageI updated it to php 7 right now!
Forum: Fixing WordPress
In reply to: 500 server error after migrating to CentOS 7 –only homepageThe only data I’ve found so far is stored in httpd access_log. Here is what I found about that moment:
::1 – – [19/Jun/2016:10:47:05 +0300] “OPTIONS * HTTP/1.0” 200 – “-” “Apache/2.4.6 (CentOS) PHP/5.4.16 (internal dum$
::1 – – [19/Jun/2016:10:47:05 +0300] “OPTIONS * HTTP/1.0” 200 – “-” “Apache/2.4.6 (CentOS) PHP/5.4.16 (internal dum$
::1 – – [19/Jun/2016:10:47:05 +0300] “OPTIONS * HTTP/1.0” 200 – “-” “Apache/2.4.6 (CentOS) PHP/5.4.16 (internal dum$
::1 – – [19/Jun/2016:10:47:05 +0300] “OPTIONS * HTTP/1.0” 200 – “-” “Apache/2.4.6 (CentOS) PHP/5.4.16 (internal dum$
::1 – – [19/Jun/2016:10:47:05 +0300] “OPTIONS * HTTP/1.0” 200 – “-” “Apache/2.4.6 (CentOS) PHP/5.4.16 (internal dum$
::1 – – [19/Jun/2016:10:47:05 +0300] “OPTIONS * HTTP/1.0” 200 – “-” “Apache/2.4.6 (CentOS) PHP/5.4.16 (internal dum$
::1 – – [19/Jun/2016:10:47:05 +0300] “OPTIONS * HTTP/1.0” 200 – “-” “Apache/2.4.6 (CentOS) PHP/5.4.16 (internal dum$
::1 – – [19/Jun/2016:10:47:05 +0300] “OPTIONS * HTTP/1.0” 200 – “-” “Apache/2.4.6 (CentOS) PHP/5.4.16 (internal dum$
::1 – – [19/Jun/2016:10:47:05 +0300] “OPTIONS * HTTP/1.0” 200 – “-” “Apache/2.4.6 (CentOS) PHP/5.4.16 (internal dum$
::1 – – [19/Jun/2016:10:47:05 +0300] “OPTIONS * HTTP/1.0” 200 – “-” “Apache/2.4.6 (CentOS) PHP/5.4.16 (internal dum$Forum: Fixing WordPress
In reply to: 500 server error after migrating to CentOS 7 –only homepageI’ve updated it to php 5.6, but it didn’t fix the problem
Forum: Fixing WordPress
In reply to: 500 server error after migrating to CentOS 7 –only homepageLast server: 5.6.16
This server:5.4.16Forum: Fixing WordPress
In reply to: 500 server error after migrating to CentOS 7 –only homepageI’ve found another apache error log for today:
[Sat Jun 18 23:43:30.614128 2016] [mpm_prefork:notice] [pid 7343] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 configu$
[Sat Jun 18 23:43:30.614161 2016] [core:notice] [pid 7343] AH00094: Command line: ‘/usr/sbin/httpd -D FOREGROUND’
[Sat Jun 18 23:51:26.664962 2016] [:error] [pid 7348] [client 89.28.72.78:50008] PHP Parse error: syntax error, un$
[Sat Jun 18 23:51:36.933362 2016] [:error] [pid 7354] [client 89.28.72.78:50016] PHP Warning: call_user_func_array$
[Sat Jun 18 23:51:37.008158 2016] [:error] [pid 7345] [client 89.28.72.78:50017] PHP Warning: call_user_func_array$
[Sun Jun 19 00:05:04.903925 2016] [:error] [pid 7348] [client 89.28.72.78:50455] PHP Fatal error: Call to undefine$
[Sun Jun 19 00:05:07.106137 2016] [:error] [pid 7349] [client 89.28.72.78:50453] PHP Fatal error: Call to undefine$
[Sun Jun 19 00:05:46.369268 2016] [:error] [pid 7348] [client 89.28.72.78:50489] PHP Warning: call_user_func_array$
[Sun Jun 19 00:08:29.960259 2016] [:error] [pid 7354] [client 89.28.72.78:50568] PHP Warning: copy(/var/www/html/w$
[Sun Jun 19 00:09:31.291739 2016] [:error] [pid 7354] [client 89.28.72.78:50606] PHP Parse error: syntax error, un$Forum: Fixing WordPress
In reply to: 500 server error after migrating to CentOS 7 –only homepageAnd the debug.log
[19-Jun-2016 11:13:27 UTC] PHP Notice: Undefined index: name in /var/www/html/wp-includes/class-wp-roles.php on lin$
[19-Jun-2016 11:13:27 UTC] PHP Notice: Undefined index: name in /var/www/html/wp-includes/class-wp-roles.php on lin$
[19-Jun-2016 11:13:27 UTC] PHP Notice: Metoda constructor apelat? pentru WP_Widget ?n tp_disqusrecentcomments este $
[19-Jun-2016 11:13:28 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/wp-admin/includes/plugin.php on line 15$
[19-Jun-2016 11:13:28 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/wp-admin/includes/plugin.php on line 15$
[19-Jun-2016 11:13:28 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/wp-admin/includes/plugin.php on line 15$
[19-Jun-2016 11:13:28 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/wp-admin/includes/plugin.php on line 15$
[19-Jun-2016 11:13:28 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/wp-admin/includes/plugin.php on line 15$
[19-Jun-2016 11:13:28 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/wp-admin/includes/plugin.php on line 15$
[19-Jun-2016 11:13:28 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/wp-admin/includes/plugin.php on line 15$
[19-Jun-2016 11:13:28 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/wp-admin/includes/plugin.php on line 15$
[19-Jun-2016 11:13:28 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/wp-admin/includes/plugin.php on line 15$
[19-Jun-2016 11:13:28 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/wp-admin/includes/plugin.php on line 15$
[19-Jun-2016 11:13:28 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/wp-admin/includes/plugin.php on line 15$
[19-Jun-2016 11:13:28 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/wp-admin/includes/plugin.php on line 15$
[19-Jun-2016 11:13:28 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/wp-admin/includes/plugin.php on line 15$
[19-Jun-2016 11:13:28 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/wp-admin/includes/plugin.php on line 15$
[19-Jun-2016 11:13:28 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/wp-admin/includes/plugin.php on line 15$
[19-Jun-2016 11:13:28 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/wp-admin/includes/plugin.php on line 15$
[19-Jun-2016 11:13:28 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/wp-admin/includes/plugin.php on line 15$
[19-Jun-2016 11:13:28 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/wp-admin/includes/plugin.php on line 15$Forum: Fixing WordPress
In reply to: 500 server error after migrating to CentOS 7 –only homepageHere are the apache error_log contents:
[Sun Jun 19 11:12:06.120178 2016] [mpm_prefork:notice] [pid 1091] AH00170: caught SIGWINCH, shutting down gracefully
[Sun Jun 19 11:12:07.234501 2016] [core:notice] [pid 3638] SELinux policy enabled; httpd running as context system_u$
[Sun Jun 19 11:12:07.235430 2016] [suexec:notice] [pid 3638] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/s$
[Sun Jun 19 11:12:07.264483 2016] [auth_digest:notice] [pid 3638] AH01757: generating secret for digest authenticati$
[Sun Jun 19 11:12:07.265371 2016] [lbmethod_heartbeat:notice] [pid 3638] AH02282: No slotmem from mod_heartmonitor
[Sun Jun 19 11:12:07.312951 2016] [mpm_prefork:notice] [pid 3638] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 configur$
[Sun Jun 19 11:12:07.313002 2016] [core:notice] [pid 3638] AH00094: Command line: ‘/usr/sbin/httpd -D FOREGROUND’Forum: Fixing WordPress
In reply to: 500 server error after migrating to CentOS 7 –only homepageI’ve tried to deactivate all the plugins, yet the page is not working.
No, I’m not in touch anymore with that person.Forum: Fixing WordPress
In reply to: 500 server error after migrating to CentOS 7 –only homepageI hired someone to make it. I know that it is using Visual Composer, but I have no other information about the theme